Skip to content

Commit d60b2dd

Browse files
committed
Disk (Linux): don't ignore sshfs
Fix #1776
1 parent fb68d8a commit d60b2dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/detection/disk/disk_linux.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ static bool isPhysicalDevice(const struct mntent* device)
3737
if(ffStrEquals(device->mnt_type, "zfs"))
3838
return true;
3939

40+
//sshfs
41+
if(ffStrEquals(device->mnt_type, "fuse.sshfs"))
42+
return true;
43+
4044
//Pseudo filesystems don't have a device in /dev
4145
if(!ffStrStartsWith(device->mnt_fsname, "/dev/"))
4246
return false;

0 commit comments

Comments
 (0)