On 7/31/06, Mike Meyer <[EMAIL PROTECTED]> wrote:

In <[EMAIL PROTECTED]>, Juan
Rodriguez <[EMAIL PROTECTED]> typed:
> On 7/31/06, Mike Meyer <[EMAIL PROTECTED]>
wrote:
> My GNU version of "cp" has more than 18 options, the FreeBSD
> version only has 9.

And this results in:

student% uname -a
Linux student.mired.org 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686
GNU/Linux
student% ls -l /bin/cp
-rwxr-xr-x  1 root root 51008 2005-09-05 05:14 /bin/cp


snake% uname -a
FreeBSD snake.mired.org 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
04:42:56 UTC 2006     [EMAIL PROTECTED]
:/usr/obj/usr/src/sys/SMP  i386
snake% ls -l /bin/cp
-r-xr-xr-x  1 root  wheel  15300 May  6 23:56 /bin/cp


        <mike
--
Mike Meyer <[EMAIL PROTECTED]>
http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


I've just realized that the manual page of FreeBSD's "cp" warns
about hard links:

-R ...blablabla...

          Note that cp copies hard linked files as separate files.  If you
          need to preserve hard links, consider using tar(1), cpio(1), or
          pax(1) instead.

--
JFRH
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to