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 768238c commit 526868eCopy full SHA for 526868e
src/detection/disk/disk_linux.c
@@ -220,7 +220,7 @@ static bool isRemovable(FFDisk* currentDisk)
220
221
static void detectType(const FFlist* disks, FFDisk* currentDisk, struct mntent* device)
222
{
223
- if(ffStrbufStartsWithS(¤tDisk->mountpoint, "/boot") || ffStrbufStartsWithS(¤tDisk->mountpoint, "/efi"))
+ if(hasmntopt(device, "x-gvfs-hide") || hasmntopt(device, "hidden"))
224
currentDisk->type = FF_DISK_VOLUME_TYPE_HIDDEN_BIT;
225
else if(isSubvolume(disks, currentDisk))
226
currentDisk->type = FF_DISK_VOLUME_TYPE_SUBVOLUME_BIT;
0 commit comments