Re: Accessing files on FAT32 partition at boot time



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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:81D38A2D-ADD7-4820-8C85-0AC76C3D06A4@xxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Re: DVD-RAM slowness and questions
    ... to know when it's done writing to the disk. ... > with a non-journaling filesystem such as ext2 or FAT? ... you've got the wrong idea about journalling, ... > driver responsibility, then how do I know if Linux is doing it? ...
    (comp.os.linux.hardware)
  • Re: Accessing files on FAT32 partition at boot time
    ... to be notified through a callback when the filesystem is accessible? ... If I re-start the driver after the system has fully booted, ... During boot, only the system disk is available immediately, ... Due to boot optimization, ...
    (microsoft.public.development.device.drivers)
  • Re: Minix uses 4GB HD at most?
    ... but not directly of the Minix filesystem. ... That would give rise to filesystems larger than any current disk. ... The AT driver can completely address disks using LBA48. ... uses 32 bit sector indexes it ...
    (comp.os.minix)
  • Re: flushing disk buffer cache
    ... Is it possible to delay or queue up disk writes until I exit from my ... driver to signal completion of flushes to disk? ... > data structures in memory for a new checkpoint), ... > filesystem and so fsck needs to be run manually. ...
    (freebsd-hackers)
  • Re: 2.6.23-rc4-mm1 OOPS in forcedeth?
    ... # Generic Driver Options ... # PCI IDE chipsets support ... # SCSI support type (disk, tape, CD-ROM) ...
    (Linux-Kernel)