add function to test btrfs

This commit is contained in:
Jakobus Schürz 2020-12-19 21:01:15 +01:00
parent ace9e76856
commit 25bb02adf9

View file

@ -946,4 +946,9 @@ get_crtime() {
# return 0 # return 0
#} #}
is_btrfs_subvolume() {
btrfs subvolume show "$1" >/dev/null 2>&1
}
#EOF #EOF