Can I know which driver is on top of driver stack?

I know file system is locate on top in driver stack.
Can I know which format(ef. NTFS or Fat32 etc) file system is on the top?

Is it using IoGetTopLevelIrp function?
If it does, how can I know this file system is NTFS or Fat32 format?

Just I want to file system driver symbolic link name.

Thanks in advence.

You can try IoGetBaseFileSystemDeviceObject or IoGetDeviceAttachmentBaseRef

----- Original Message -----
From: “lbo”
To: “File Systems Developers”
Sent: Monday, April 08, 2002 7:10 PM
Subject: [ntfsd] Can I know which driver is on top of driver stack?

> I know file system is locate on top in driver stack.
> Can I know which format(ef. NTFS or Fat32 etc) file system is on the top?
>
> Is it using IoGetTopLevelIrp function?
> If it does, how can I know this file system is NTFS or Fat32 format?
>
> Just I want to file system driver symbolic link name.
>
> Thanks in advence.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@lit.org.sg
> To unsubscribe send a blank email to %%email.unsub%%
>

Send FileFsAttributeInformation query to the filesystem, this will return its name.

Max

----- Original Message -----
From: “lbo”
To: “File Systems Developers”
Sent: Monday, April 08, 2002 3:10 PM
Subject: [ntfsd] Can I know which driver is on top of driver stack?

> I know file system is locate on top in driver stack.
> Can I know which format(ef. NTFS or Fat32 etc) file system is on the top?
>
> Is it using IoGetTopLevelIrp function?
> If it does, how can I know this file system is NTFS or Fat32 format?
>
> Just I want to file system driver symbolic link name.
>
> Thanks in advence.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

“Maxim S. Shatskih” @lists.osr.com on 08.04.2002
17:03:52

Please respond to “File Systems Developers”

Sent by: xxxxx@lists.osr.com

To: “File Systems Developers”
cc:

Subject: [ntfsd] Re: Can I know which driver is on top of driver stack?

Send FileFsAttributeInformation query to the filesystem, this will return
its name.

Max

----- Original Message -----
From: “lbo”
To: “File Systems Developers”
Sent: Monday, April 08, 2002 3:10 PM
Subject: [ntfsd] Can I know which driver is on top of driver stack?

> I know file system is locate on top in driver stack.
> Can I know which format(ef. NTFS or Fat32 etc) file system is on the top?
>
> Is it using IoGetTopLevelIrp function?
> If it does, how can I know this file system is NTFS or Fat32 format?
>
> Just I want to file system driver symbolic link name.
>
> Thanks in advence.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>


You are currently subscribed to ntfsd as: xxxxx@utimaco.at
To unsubscribe send a blank email to %%email.unsub%%