From b9889f93c2bbdc31ab135c56fb7244f238d5ceeb Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 31 Oct 2002 10:43:32 +0000 Subject: [PATCH] Document the new behavior of -C with respect to inode-change-time. Document that -p also preserves the access time of the source. --- usr.bin/xinstall/install.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.bin/xinstall/install.1 b/usr.bin/xinstall/install.1 index 79484ccc9ad7..6fc17c06ad0d 100644 --- a/usr.bin/xinstall/install.1 +++ b/usr.bin/xinstall/install.1 @@ -101,6 +101,8 @@ is given. Copy the file. If the target file already exists and the files are the same, then don't change the modification time of the target. +If the target's file flags and mode need not to be changed, +the target's inode change time is also unchanged. .It Fl c Copy the file. This is actually the default. @@ -130,12 +132,12 @@ for a description of possible mode values. Specify an owner. A numeric UID is allowed. .It Fl p -Preserve the modification time. +Preserve the access and modification times. Copy the file, as if the .Fl C (compare and copy) option is specified, except if the target file doesn't already exist or is different, -then preserve the modification time of the file. +then preserve the access and modification times of the source file. .It Fl S Safe copy. Normally,