Disk (Windows): detect disk physical type

This commit is contained in:
李通洲
2023-09-30 15:00:59 +08:00
parent 9857f48bb9
commit 18233a27c5
4 changed files with 43 additions and 2 deletions
+1
View File
@@ -277,6 +277,7 @@ const char* ffDetectDisksImpl(FFlist* disks)
//We have a valid device, add it to the list
FFDisk* disk = ffListAdd(disks);
disk->type = FF_DISK_VOLUME_TYPE_NONE;
disk->physicalType = FF_DISK_TYPE_UNKNOWN;
//detect mountFrom
ffStrbufInitS(&disk->mountFrom, device->mnt_fsname);