reserving space on disk

Hi,

In my filter driver I want to use some disk space from the file system. I
want to reserve that space from the disk so that file system doesnt do any
write on that. And then I want to use my own IRM_MJ_WRITE/IRP_MJ_READ to
do any read or write. Is there any way i can ask file system to reserve
the space for me?

Other option i was thinking was that let me allocate a file of fixed size
and then get the retrival pointers of that file, the the problem is I want
continuous space on that disk and that space should not be altered by file
system or defragmentation.

Any help is appreciated

iva

The best way to reserve is, add a disk filter driver that will calculate
the size that you want to reserve and then present this new disk
attribute to upper layer.

–Anand
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Iva Schwartz
Sent: Thursday, June 12, 2003 3:29 AM
To: File Systems Developers
Subject: [ntfsd] reserving space on disk

Hi,

In my filter driver I want to use some disk space from the file system.
I
want to reserve that space from the disk so that file system doesnt do
any
write on that. And then I want to use my own IRM_MJ_WRITE/IRP_MJ_READ to
do any read or write. Is there any way i can ask file system to reserve
the space for me?

Other option i was thinking was that let me allocate a file of fixed
size
and then get the retrival pointers of that file, the the problem is I
want
continuous space on that disk and that space should not be altered by
file
system or defragmentation.

Any help is appreciated

iva


You are currently subscribed to ntfsd as: xxxxx@spartanlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com