On Friday 23 September 2005 11:46, Paul Eggert wrote: > Ian Turner <[EMAIL PROTECTED]> 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 _______________________________________________ Bug-tar mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-tar
