IRP_MJ_QUERY_VOLUME_INFORMATION , GetFileName

Hello,

In the IOCTL function IRP_MJ_QUERY_VOLUME_INFORMATION,
we can get the FileObject.

I’m on a FAT (My private file systems) managed by user process (samplex.exe), and later I want to implement on the fat internal links leading to another FAT (My private file systems), why the size of available disk has varied from one directory to another (IOCTL IRP_MJ_QUERY_VOLUME_INFORMATION)

Do I like to know if the FileObject from ioctl IRP_MJ_QUERY_VOLUME_INFORMATION, is stored
the current directory in FileName (from FileObject and RelativeObject)??

Otherwise, how do Mountgr it to know the current directory ?

Thank you

In the presense of some symlinks, the file objects opened on different directories are actually referencing different volumes with different volume info.

Otherwise, how do Mountgr it to know the current directory ?

There is no notion of current directory in the kernel at all.

There are only absolute pathnames and relative file opens.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com