If you chose a true logging model for a file system, COW is not required;
just set some anchor points.
The solution to the original problem is to filter the open and the close
operations. On close, compare the results of the file to the last results
(the copied version). If there are changes, make the backup.
I worked on a file system filter driver about 8 years ago that did just what
is being described. On close, if the file contents were modified, save the
diffs. Reconstruction the original file (versions) is quite easy).
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Thursday, January 06, 2005 10:27 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Paging IO question
Yeah, like explorer. I have seen it do this a lot. Thus, using Max’s
solution, you would end up with entire directory trees which have taken copy
events when no actual writes have occurred to files in these nodes.
Also, I would beg to differ that a copy on write semantics filesystem is
‘stupid’. These are highly complex filesystems to get them right and
efficient.
Pete
Peter Scott
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-197591-
xxxxx@lists.osr.com] On Behalf Of Ladislav Zezula
Sent: Thursday, January 06, 2005 3:24 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Paging IO question
> Also opening a file with WRITE access and not writing is a strange
idea.
Yes, but not impossible and not forbidden. I’ve seen many cases
when application opens the file for full access and then queries
attributes only.
L.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@kerneldrivers.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@tfb.com
To unsubscribe send a blank email to xxxxx@lists.osr.com