We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82fc27f commit bc550a5Copy full SHA for bc550a5
src/detection/disk/disk_bsd.c
@@ -103,9 +103,12 @@ void detectFsInfo(struct statfs* fs, FFDisk* disk)
103
#else
104
static void detectFsInfo(struct statfs* fs, FFDisk* disk)
105
{
106
+ #ifdef MNT_IGNORE
107
if(fs->f_flags & MNT_IGNORE)
108
disk->type = FF_DISK_VOLUME_TYPE_HIDDEN_BIT;
- else if(!(fs->f_flags & MNT_LOCAL))
109
+ else
110
+ #endif
111
+ if(!(fs->f_flags & MNT_LOCAL))
112
disk->type = FF_DISK_VOLUME_TYPE_EXTERNAL_BIT;
113
else
114
disk->type = FF_DISK_VOLUME_TYPE_REGULAR_BIT;
0 commit comments