|
From: Eric K. <ek...@rz...> - 2002-05-09 12:36:04
|
Hi! I'm currently working on the removable-media-support. One major problem is that filesystem drivers must not be attached to the logical volume (drive) device objects. They have to be linked to them via the VPB instead. This way the link can be removed and reestablished when a media-change happens. I have changed the mounting code in the vfatfs driver, so that the filesystem object is correctly registered in the VPB. I also changed IopCreateFile() (in ntoskrnl/io/create.c) to use the filesystem object instead of the top-level device object when a volume is mounted. After replacing the call to IoAttachDeviceToDeviceStack() by a call to IoGetAttachedDevice() in the vfat mounting code, the system freezes. It seem there are more places that need to be fixed. I had a look a every call to IoGetAttachedDevice() but IMO none of the calls needs to be changed. What am I missing? Btw, I could reflash both damaged BIOS flash proms. Both machines are working again. Thanks to the IOSS Bios Saver! :-) Eric |