Urgent!!! Can I use the Cache Manager.

Hi Friend,
I need your help???

I want to make a utility software which would do the following.

It will attach a file system filter driver over the file system. Now this
attached filter driver should be capable of stopping any tangible changes
to the hard disk. Though the changes would be visible for the present
session (i.e would be in effect until the system is restarted).
For example if we modify a file then until the system is restarted we get
the modified view of the file but once the system is restarted we get the
original file.

Now my questions are

  1. Can it be done with the help of cache manager :- All the data
    manipulation (i.e. creation and modification of files) is done in the
    cache and once the system is rebooted cache automatically gets out of
    scope.
  2. If this is not the way, then should I use the algorithm of redirection,
    i.e. I redirect the data to a temporary buffer and delete the buffer on
    restart.
  3. Is there any better algorithm.

Please help me as I am very new to file system driver programming.
Thanks
Lalit.

Jeez this has been a popular question lately… Do a search in the ntfsd
archives (www.osr.com) for a thread within the last month with the
subject ‘Will a filter driver suffice?’. Conclusion was the best way to
do this is at the volume sector level, not at the filesytem leve.

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Lalit S. Rana
Sent: Saturday, April 19, 2003 12:55 PM
To: File Systems Developers
Subject: [ntfsd] Urgent!!! Can I use the Cache Manager.

Hi Friend,
I need your help???

I want to make a utility software which would do the following.

It will attach a file system filter driver over the file
system. Now this attached filter driver should be capable of
stopping any tangible changes to the hard disk. Though the
changes would be visible for the present session (i.e would
be in effect until the system is restarted). For example if
we modify a file then until the system is restarted we get
the modified view of the file but once the system is
restarted we get the original file.

Now my questions are

  1. Can it be done with the help of cache manager :- All the
    data manipulation (i.e. creation and modification of files)
    is done in the cache and once the system is rebooted cache
    automatically gets out of scope. 2. If this is not the way,
    then should I use the algorithm of redirection, i.e. I
    redirect the data to a temporary buffer and delete the buffer
    on restart. 3. Is there any better algorithm.

Please help me as I am very new to file system driver
programming. Thanks Lalit.


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