add function to test btrfs
This commit is contained in:
parent
ace9e76856
commit
25bb02adf9
1 changed files with 5 additions and 0 deletions
|
@ -946,4 +946,9 @@ get_crtime() {
|
||||||
# return 0
|
# return 0
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
|
||||||
|
is_btrfs_subvolume() {
|
||||||
|
btrfs subvolume show "$1" >/dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
#EOF
|
#EOF
|
||||||
|
|
Loading…
Reference in a new issue