Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
I have a task to create a special partition on the disk drive and format it with a file system that would allow write-once operation, i.e. each sector must be written only once. Obviously such volume will only accept adding new files to it, and that's exactly what I'm trying to achieve.
So I formatted a partition with UDF file system assuming that it might just sequentially write data without touching the previously written sectors (like writing a DVD), however when I monitored the disk access, I noticed that with every new file copied to the volume it modifies some type of structures located in the beginning of the volume, which might be the directory entries.
Question: is there a way to tell the OS to treat the disk partition as a write-once media? Or maybe there are other file systems that could utilize the write-once scenario? Thanks
Upcoming OSR Seminars | ||
---|---|---|
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead! | ||
Kernel Debugging | 13-17 May 2024 | Live, Online |
Developing Minifilters | 1-5 Apr 2024 | Live, Online |
Internals & Software Drivers | 11-15 Mar 2024 | Live, Online |
Writing WDF Drivers | 26 Feb - 1 Mar 2024 | Live, Online |
Comments
to change a file size on write.
Some apps might be able to work differently, most won't.
Sounds like you want a log structured file system...None available for Windows that I know of:
https://en.wikipedia.org/wiki/Log-structured_file_system
-scott
OSR