From: Michael on
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.
From: David Craig on
Could you supply any less information?

What are the names of the boot and system volumes? What are the symbolic
links to those volumes? What is the name of the volume containing the file
you want to access? What symbolic links? What type of drive contains the
file you want to open? Is it removable? Is it USB, 1394, ATAPI, SCSI,
iSCSI, etc.?

Do you know how to use diskview, objdir, devicetree, and winobj? How about
ProcessMonitor, but I don't think it will help you during the boot sequence?
They are all available for free on osronline or sysinternals.


"Michael" <Michael(a)discussions.microsoft.com> wrote in message
news:81D38A2D-ADD7-4820-8C85-0AC76C3D06A4(a)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.


From: Pavel A. on
"Michael" <Michael(a)discussions.microsoft.com> wrote in message
news:81D38A2D-ADD7-4820-8C85-0AC76C3D06A4(a)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


From: Maxim S. Shatskih on
> During boot, only the system disk is available immediately,
> other disks come later.

No filesystems are available at Boot startup phase.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

From: Maxim S. Shatskih on
No ways.

No filesystems are available on Boot startup phase, and only SystemRoot is
available on System startup phase.

Also, on both phases, only the System registry is available.

So, do not use files in the driver, and do not use registry outside System.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

"Michael" <Michael(a)discussions.microsoft.com> wrote in message
news:81D38A2D-ADD7-4820-8C85-0AC76C3D06A4(a)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.