Date: 20 Nov 1999 18:30:28 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-questions@freebsd.org Subject: Re: backup w/o touching files' last-accessed times Message-ID: <86zow9ruqj.fsf@localhost.hell.gr> In-Reply-To: John Quincy's message of "Fri, 19 Nov 1999 14:06:16 -0500 (EST)" References: <Pine.NEB.3.95.991119140039.14669A-100000@mail.burlco.lib.nj.us>
next in thread | previous in thread | raw e-mail | index | archive | help
John Quincy <jquincy@mail.burlco.lib.nj.us> writes: > I'm using "dump" to backup users' e-mail nightly. Unfortunately this > changes the last-accessed time of their INBOX so that their shell only > reports "You have mail" instead of "You have new mail" when they log in. > (Say they receive new mail at 2:55a and the backup is done at 3:00a. The > last-accessed time is greater than the last-modified time, so the shell > assumes the user has already read his latest mail.) > > Surely I'm not the only dope who's wondered about this. How do you do a > backup without munging the last-accessed time on files? You could mount the filesystems with noatime, which will also have the effect of making the filesystem a bit faster AFAIK (because when you just read a file which is cached, it's atime won't have to be updated, saving a few fs operations). Some BSD kernel guru, correct me if I'm wrong. -- Giorgos Keramidas, <keramida@ceid.upatras.gr> "What we have to learn to do, we learn by doing." [Aristotle] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zow9ruqj.fsf>