Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
pmirror: Add option --noatime
Open source file with O_NOATIME if option --noatime is given. If pmirror is used for backup purpose, we don't want to trigger metadata writes on the source filesystem. This needs to be optional, because O_NOATIME only works for the owner of a file or for a privileged user. As --cksum is implemented by an external command, we can't do this with out potentially touching the access time.
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters