How do I initialize VCB ??? without mount-ioctl...

> Hello

Thanks to all of you for helping me last time. Now I have a problem.
I am implementing a file system driver which is the type of FILE_DISK_FILE_SYSTEM. But actually this is not an disk based instead I’ll get the data remotely and fill in the IRP.

my problem is when exactly I have to initialize VCB for this device?, in the entry point I am creating a device “\Device\XXXXX” and creating a symbolic link “\DosDevice\W:”. in this case I’ll not get the mount request. hence I have to initialize the VCB manually. for this If I initialize at first time when I get “Create” request, system throws an error saying “IRQL_NOT_LESS_EQUAL”.

Please advise… Thanks in advance.

Cheers
K.Raju

One solution would be to create a dumb disk device. This would simply be a
device that is recognized by the system as a disk, you can even interface
this device to the mount manager so you don’t have to worry about creating a
symbolic link. Then when this device is mounted on first access, your
filesystem would recognize it as your device and load your filesystem. This
way your mount routine would be called in your FSD, hence it would be able
to mount the device normally as a local device.

After your FSD is loaded, then you send everything off to the remote store.
The sole purpose of the virtual device is to load your FSD, nothing more.
Well, maybe to get a drive letter assigned to it if you integrate with the
mount manager.

Hope this helps,

Pete

Peter Scott
xxxxx@KernelDrivers.com
www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-170275-
xxxxx@lists.osr.com] On Behalf Of Krishnama Raju
Sent: Wednesday, March 17, 2004 10:05 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] How do I initialize VCB ??? without mount-ioctl…

> Hello
> Thanks to all of you for helping me last time. Now I have a
problem.
> I am implementing a file system driver which is the type of
FILE_DISK_FILE_SYSTEM. But actually this is not an disk based instead I’ll
get the data remotely and fill in the IRP.
>
> my problem is when exactly I have to initialize VCB for this device?, in
the entry point I am creating a device “\Device\XXXXX” and creating a
symbolic link “\DosDevice\W:”. in this case I’ll not get the mount
request. hence I have to initialize the VCB manually. for this If I
initialize at first time when I get “Create” request, system throws an
error saying “IRQL_NOT_LESS_EQUAL”.
>
> Please advise… Thanks in advance.
>
> Cheers
> K.Raju


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@kerneldrivers.com
To unsubscribe send a blank email to xxxxx@lists.osr.com