Reading Ondisk Data Structures (during a mount volume request)

Hi,

This is just a quick question… I was wondering, when a file system receives
a IRP_MN_MOUNT_VOLUME request, it is normally standard practice to read the
root directory and the just file/directory entries within the root directory
during a mount routine, then store them in a tree like structure of Fcb’s
and Dcb’s in the Vcb? or is it recommended that all the on disk data
structures is read off the volume? or neither, and read the on disk
structures when needed?

For those out there on the list who’s had many years experience in writing
file system drivers, what would you recommend when dealing and managing on
disk data structures?

Regards,
James

Let the cache manager handle it.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of James Dunning
Sent: Thursday, July 18, 2002 1:42 AM
To: File Systems Developers
Subject: [ntfsd] Reading Ondisk Data Structures (during a mount volume
request)

Hi,

This is just a quick question… I was wondering, when a file system
receives
a IRP_MN_MOUNT_VOLUME request, it is normally standard practice to read
the
root directory and the just file/directory entries within the root
directory
during a mount routine, then store them in a tree like structure of
Fcb’s
and Dcb’s in the Vcb? or is it recommended that all the on disk data
structures is read off the volume? or neither, and read the on disk
structures when needed?

For those out there on the list who’s had many years experience in
writing
file system drivers, what would you recommend when dealing and managing
on
disk data structures?

Regards,
James


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

Sorry…

I would not try to keep a private cache. Just wait until you are ready
to access the data and then setup a cache map. The cache will handle
pulling it from and putting it to disk as needed.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Friday, July 19, 2002 1:17 PM
To: File Systems Developers
Subject: [ntfsd] RE: Reading Ondisk Data Structures (during a mount
volume request)

Let the cache manager handle it.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of James Dunning
Sent: Thursday, July 18, 2002 1:42 AM
To: File Systems Developers
Subject: [ntfsd] Reading Ondisk Data Structures (during a mount volume
request)

Hi,

This is just a quick question… I was wondering, when a file system
receives
a IRP_MN_MOUNT_VOLUME request, it is normally standard practice to read
the
root directory and the just file/directory entries within the root
directory
during a mount routine, then store them in a tree like structure of
Fcb’s
and Dcb’s in the Vcb? or is it recommended that all the on disk data
structures is read off the volume? or neither, and read the on disk
structures when needed?

For those out there on the list who’s had many years experience in
writing
file system drivers, what would you recommend when dealing and managing
on
disk data structures?

Regards,
James


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

> This is just a quick question… I was wondering, when a file system
receives

a IRP_MN_MOUNT_VOLUME request, it is normally standard practice to
read the
root directory and the just file/directory entries within the root
directory
during a mount routine, then store them in a tree like structure of
Fcb’s
and Dcb’s in the Vcb? or is it recommended that all the on disk data

NT’s filesystems support media change and volume remount if old media
is inserted back, so, the mount path is much more complex.

As about reading things - usually, mount path creates cache maps for
all metadata areas.

Max