I have a need to store some data outside the file system on an NTFS volume.
I seem to remember 2 IOCTL’s (or perhaps FSCTL’s) that allow you to manually
add and remove clusters to NTFS’s bad cluster file, which seems like a
fairly safe way to allocate some disk space where NTFS (and defragmenter’s)
will leave it alone.
I’m now wondering if I just imaged those IOCTL’s, because I can’t seem to
find them anywhere. Can anybody point me to them?
Thanks.
This is a very tenuous solution. I did something like this under DOS about
20 years ago and a good disk checker will trash your data.
If you only need to store the data during a single session, you can use a
filter driver and a couple of bitmaps to store your data “out-of-band”.
I worked on a project recently that did this exact same thing (storing data
outside of the file systems allocations.) It was a snapshot technology that
saved the copy-on-write data “out-of-band”.
Let me know if you need more details.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jan Bottorff
Sent: Tuesday, November 23, 2004 11:37 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] IOCTL’s to add/remove bad clusters on NTFS volume?
I have a need to store some data outside the file system on an NTFS volume.
I seem to remember 2 IOCTL’s (or perhaps FSCTL’s) that allow you to manually
add and remove clusters to NTFS’s bad cluster file, which seems like a
fairly safe way to allocate some disk space where NTFS (and defragmenter’s)
will leave it alone.
I’m now wondering if I just imaged those IOCTL’s, because I can’t seem to
find them anywhere. Can anybody point me to them?
Thanks.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@tfb.com
To unsubscribe send a blank email to xxxxx@lists.osr.com