Backup of a live filesystem revisited
Fred Fish
fnf at mcdsun.UUCP
Thu Dec 25 06:07:38 AEST 1986
In article <7446 at utzoo.UUCP> henry at utzoo.UUCP (Henry Spencer) writes:
>Another wart of dump programs that go through the filesystem is that the
>access time of files becomes largely useless, since the dump program ends
>up updating it on every backup.
Maybe I'm missing something, but why not just use utime(2) to reset the
st_atime and st_mtime fields, that's what bru does. Of course, st_ctime
is not resetable, and any changes to st_atime or st_mtime by another
process while the file is being read out for backup are lost. Backup
programs that diddle with the raw filesystem while it's active
give me the creeps...
-Fred
--
===========================================================================
Fred Fish Motorola Computer Division, 3013 S 52nd St, Tempe, Az 85282 USA
{seismo!noao!mcdsun,hplabs!well}!fnf (602) 438-5976
===========================================================================
More information about the Comp.unix.wizards
mailing list