From: Jim Meyering Date: Sat, 29 Aug 2009 20:56:48 +0000 (+0200) Subject: doc: cp: update note on preserving symlink time stamps X-Git-Tag: v7.6~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3ccc324d32f41727cf9b26ce50330e1f24a1385;p=platform%2Fupstream%2Fcoreutils.git doc: cp: update note on preserving symlink time stamps * doc/coreutils.texi (cp invocation): Now, we *do* preserve time stamps on symlinks, when possible. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index f4be2c2..33877af 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7445,12 +7445,10 @@ may preserve the group ownership of a file only if they happen to be a member of the desired group. @itemx timestamps Preserve the times of last access and last modification, when possible. -In general, it is not possible to preserve these attributes +On older systems, it is not possible to preserve these attributes when the affected file is a symbolic link. -However, FreeBSD now provides the @code{lutimes} function, which makes -it possible even for symbolic links. However, this implementation does -not yet take advantage of that. -@c FIXME: once we provide lutimes support, update the above. +However, many systems now provide the @code{utimensat} function, +which makes it possible even for symbolic links. @itemx links Preserve in the destination files any links between corresponding source files.