Maxim
Thu May 08 13:55:04 CDT 2008
Look at IoRegisterDriverReinitialization
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Michael" <Michael@discussions.microsoft.com> wrote in message
news:C5E4B7C7-B4E3-4A8D-84DA-C0087D233CD0@microsoft.com...
> Thanks everyone for all of the suggestions. What is the correct way to
> postpone accessing the filesystem? If I just poll on the ZwCreateFile()
> call, this seems to block the system from ever fully booting. Is there a way
> to be notified through a callback when the filesystem is accessible?
>
> "Pavel A." wrote:
>
> > "Michael" <Michael@discussions.microsoft.com> wrote in message
> > news:81D38A2D-ADD7-4820-8C85-0AC76C3D06A4@microsoft.com...
> > > Is it possible to access files on a FAT32 parition during boot time from
a
> > > PnP driver? ZwCreateFile() is returning STATUS_UNRECOGNIZED_VOLUME. I
> > > tried
> > > playing around with dependencies and load order, but that didn't seem to
> > > do
> > > anything. If I re-start the driver after the system has fully booted, I
> > > am
> > > able to open the file.
> >
> > During boot, only the system disk is available immediately,
> > other disks come later.
> > Due to boot optimization, your driver may start early
> > and the load order does not control this completely.
> > Try to be more flexible. If your driver can wait, delay
> > whatever it does, until that disk becomes available.
> >
> > Regards,
> > --PA
> >
> >
> >