Re: Interactivity during slocate

From: John Reiser (jreiser_at_BitWagon.com)
Date: 05/13/04


Date: Thu, 13 May 2004 08:01:28 -0700


>>>My laptop is completely useless during the slocate updates.
>>
>>Frequently the bottleneck is updating the time-of-last-access for
>>directories. Add ",nodiratime" to the mount options in /etc/fstab.

> Rsync via ssh connects to my machine every night and takes a hard-link
> snapshot of my home directory minus ~/excludes.txt. Will turning off
> atime on directories mess with that?

Look at the source for rsync, and see if it checks st_atim[e] of directories.
Probably the strategy of "hardlink for backup" uses only st_mtim[e]
and/or st_ctim[e] of regular files, so nodiratime will not interfere.



Relevant Pages

  • Re: open(2) and O_NOATIME
    ... only to root would be a suitable compromise. ... utimesallows non-root users to set atime provided they own the ... scheme allows me to efficiently use snapshots on the backup medium. ... Patching rsync to implement the kind of reset atime as i.e. cpio does ...
    (freebsd-hackers)
  • Re: Shell script to compare directories and copy differences
    ... I'm trying to write what I thought was a simple shell script, ... turning out not to be the case. ... See if you have the dircmp command. ... rdist and rsync do more or less what you want to do, ...
    (comp.unix.shell)
  • Re: Interactivity during slocate
    ... snapshot of my home directory minus ~/excludes.txt. ... Will turning off ... changing atime behavior could be limited to slocate. ...
    (comp.os.linux.development.system)