Re: [PATCH] adding two new options to 'cp'
- From: "Juan Rodriguez" <juan.fco.rodriguez@xxxxxxxxx>
- Date: Mon, 31 Jul 2006 18:26:39 +0200
On 7/31/06, Mike Meyer <mwm@xxxxxxxxx> wrote:
In <96b30c400607310847s1d2f845eo212b234d03f51e9a@xxxxxxxxxxxxxx>, Juan
Rodriguez <juan.fco.rodriguez@xxxxxxxxx> typed:
> On 7/31/06, Mike Meyer <mwm-keyword-freebsdhackers2.e313df@xxxxxxxxx>
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 root@xxxxxxxxxxxxxxxxxxxx
:/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 <mwm@xxxxxxxxx>
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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- Re: [PATCH] adding two new options to 'cp'
- From: Oliver Fromme
- Re: [PATCH] adding two new options to 'cp'
- From: Doug Barton
- Re: [PATCH] adding two new options to 'cp'
- From: Eric Anderson
- Re: [PATCH] adding two new options to 'cp'
- From: Mike Meyer
- Re: [PATCH] adding two new options to 'cp'
- From: Eric Anderson
- Re: [PATCH] adding two new options to 'cp'
- From: Mike Meyer
- Re: [PATCH] adding two new options to 'cp'
- From: Juan Rodriguez
- Re: [PATCH] adding two new options to 'cp'
- From: Mike Meyer
- Re: [PATCH] adding two new options to 'cp'
- Prev by Date: Re: [PATCH] adding two new options to 'cp'
- Next by Date: Re: [PATCH] adding two new options to 'cp'
- Previous by thread: Re: [PATCH] adding two new options to 'cp'
- Next by thread: Re: [PATCH] adding two new options to 'cp'
- Index(es):