bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Re: [patch] O_NOATIME support


From: Ian Turner
Subject: [Bug-tar] Re: [patch] O_NOATIME support
Date: Tue, 27 Sep 2005 09:47:21 -0700
User-agent: KMail/1.7.1

On Friday 23 September 2005 11:46, Paul Eggert wrote:
> Ian Turner <address@hidden> writes:
> > Why don't we put a patch now for --preserve-atime=system, and we can
> > add --preserve-atime=heuristic when kernel support exists, since
> > that might take some time?
>
> (no pun intended :-).  Yes, I guess that makes sense for now.

OK. Here's a revised patch. It doesn't touch the configure system, and it 
doesn't introduce a new option. You can do --atime-preserve, 
--atime-preserve=replace, or --atime-preserve=system. If O_NOATIME isn't 
defined at compile time, --atime-preserve=system will generate a usage error 
message.

I wasn't sure about the right way to document the --atime-preserve option. 
Right now I define the argument as "replace|=system", so that --help shows 
--atime-preserve[=replace|=system]. But this strikes me as a hack. Let me 
know if you have a better idea.

Cheers,

--Ian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]