FSD problrm

Hi there,

I am testing a FSD which handles a mountable file system under NT4.

The driverEntry() does the folowing : IoCreateDevice to get the driver
device object , IoCreateSymbolicLink() . sets Dispatch routines including
some FastIo dispatches and finally : IoRegisterFileSystem() . The
DriverEntry is finished o.k .
Later upon first open of the volume I receive IRP_MN_MOUNT_VOLUME and does
the following steps upon recognizing that the IRP is aimed at my partition
:

  1. IoCreateDevice(
    DeviceObject->DriverObject,
    sizeof(VCB),
    NULL,

FILE_DEVICE_DISK_FILE_SYSTEM,
0,
FALSE,
(PDEVICE_OBJECT *)&VolDo)
:

  1. Initialize VCb (whiich is VolDo->DeviceExtension)

  2. Initialize Vpb .

  3. ClearFlag(VolDo->Flags, DO_DEVICE_INITIALIZING);

  4. return STATUS_SUCCESS

The result is that an icon appears on the windows Explorer showing the
volume name and the device letter of the volume as needed.
But it appears with the wrong icon (text document) . only after pressing F5
(refresh) do I get a local disk Icon as needed .
Also if the FSD driver type (in the registry) is 2 (automatic load ) ,
drive A: becomes inaccecible . If type =3 (manualk load) then this
inaccesability occurs later .
I see that the rdive A inaccesability has conection with my call to
IoRegisterFileSystem() that if not called , does not happen .

Am I missing someting or doing wrong in the above that causes this
behaviour , or NT4 is not fully equipped for mounting of local disk
File systems ?

thanks,
Dubi


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

Maybe you are not returning STATUS_UNRECOGNIZED_VOLUME for mount
requests other than your device objects.

Also if the FSD driver type (in the registry) is 2 (automatic load )
,
drive A: becomes inaccecible . If type =3 (manualk load) then this
inaccesability occurs later .
I see that the rdive A inaccesability has conection with my call to
IoRegisterFileSystem() that if not called , does not happen .

Am I missing someting or doing wrong in the above that causes this
behaviour , or NT4 is not fully equipped for mounting of local disk
File systems ?

thanks,
Dubi


You are currently subscribed to ntfsd as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/


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