I have a PDEVICE_OBJECT (returned by IoGetDeviceObjectPointer) for a
volume. I am able to issue IoControl calls like
IOCTL_STORAGE_GET_DEVICE_NUMBER and IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
but none of these structures tell me the file system (FAT32, FAT, CDFS,
NTFS). I also looked at DeviceObject->Vpb->Type but this is “10” for all
volumes.
I even tried opening the volume with ZwCreateFile (using the drive letter)
and successfully used IoQueryVolumeInformation with FileFsVolumeInformation
to obtain the FILE_FS_VOLUME_INFORMATION but this doesn’t tell me the file
system either.
How do I get the file system type (CDFS, FAT32, NTFS, etc) for a volume?
Thank you,
Ray Martin
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com