summaryrefslogtreecommitdiffstats
path: root/bin/cp
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2006-10-24 18:42:42 +0000
committertrhodes <trhodes@FreeBSD.org>2006-10-24 18:42:42 +0000
commite0efadd7e5dd03582006705fccc8b96fb8a29f8a (patch)
tree207c050e9be54c23fec0332b199f376c634684b5 /bin/cp
parent19094a2bf3fc2688fc83361912f2852e04b52137 (diff)
downloadFreeBSD-src-e0efadd7e5dd03582006705fccc8b96fb8a29f8a.zip
FreeBSD-src-e0efadd7e5dd03582006705fccc8b96fb8a29f8a.tar.gz
Flesh out the compatibility section a little bit. Bump doc date.
Diffstat (limited to 'bin/cp')
-rw-r--r--bin/cp/cp.150
1 files changed, 20 insertions, 30 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 4038aee..ad886b4 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -32,7 +32,7 @@
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd October 7, 2006
+.Dd October 24, 2006
.Dt CP 1
.Os
.Sh NAME
@@ -251,38 +251,28 @@ Historic versions of the
utility had a
.Fl r
option.
-This implementation supports that option, however, its use is strongly
-discouraged as its behavior is very implementation dependent.
-In this version of
+This implementation supports that option, however, its behavior
+is different from historical
+.Fx
+behavior.
+Use
+of this option
+is strongly discouraged as the behavior is
+implementation-dependent.
+In this implementation of
.Nm ,
.Fl r
-is just a synonym for
-.Fl RL .
-The
-.Fl R
-option gives the correct behavior while
-.Fl L
-preserves the sometimes-useful historical behavior of following symbolic links.
-The
-.Fl r
-option is deprecated in
-.Tn POSIX
- and its behavior is likely to be different
-in future versions of
-.Nm
-and its behavior is likely to be different
-in future versions of
-.Fx .
-Previous versions of
-.Nm
-in
-.Fx ,
-the
+works alike
+.Fl RL
+thus all files, including special files, are copied
+in a manner similar to normal files.
+Data within these special files
+will not be copied, only the file itself.
+Historical implemenations
+of
.Fl r
-behavior was to not correctly copy special files, symbolic links
-or fifos.
-Symbolic links were followed, and the contents of special
-files and fifos were copied to regular files.
+differ as they could copy the internal contents of special
+files while recreating a hierarchy.
.Pp
The
.Fl v
OpenPOWER on IntegriCloud