File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,18 @@ static bool isPhysicalDevice(const struct mntent* device)
3333 if (ffStrEquals (device -> mnt_type , "9p" ))
3434 return true;
3535
36- //ZFS pool or bcachefs filesystem
37- if (ffStrEquals (device -> mnt_type , "zfs" ) || ffStrEquals ( device -> mnt_type , "bcachefs" ) )
36+ //ZFS pool
37+ if (ffStrEquals (device -> mnt_type , "zfs" ))
3838 return true;
3939
4040 //Pseudo filesystems don't have a device in /dev
4141 if (!ffStrStartsWith (device -> mnt_fsname , "/dev/" ))
4242 return false;
4343
44+ //#731
45+ if (ffStrEquals (device -> mnt_type , "bcachefs" ))
46+ return true;
47+
4448 if (
4549 ffStrStartsWith (device -> mnt_fsname + 5 , "loop" ) || //Ignore loop devices
4650 ffStrStartsWith (device -> mnt_fsname + 5 , "ram" ) || //Ignore ram devices
You can’t perform that action at this time.
0 commit comments