Re: [PATCH] adding two new options to 'cp'



On Mon, Jul 31, 2006 at 05:47:09PM +0200, Juan Rodriguez wrote:

My GNU version of "cp" has more than 18 options, the FreeBSD
version only has 9.

As I usually work with Linux machines, I'm used to "cp -a" and I have always
hated to have to look up in the FreeBSD's "cp" manual page for the right
options to get the same funtionality. I tend to think
that "-a" is option bloating because it's not really needed, but I see
"-l" as a new feature for "cp" that might be useful.

I agree, -a is bloat. However I don't understand why you say:

To sum it up, I think "cp -a" and "cp -l" are both useful,

I agree that the "-l" option *may* be useful.

the first one
because of compatibility with the large base of Linux systems out there, and
the second one because I think it's a useful feature for the FreeBSD "cp".

In both cases, why don't you just use:

/usr/compat/linux/bin/cp

If you're not going to add all 18 options to our cp, then -a shouldn't be
added at all. It doesn't provide any useful functionality, and the
argument to make it more compatible with Linux is silly unless you add the
other 9 options. If you want the linux cp, use the linux cp.

-- Rick C. Petty
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Linux Vs. FreeBSD
    ... while FreeBSD seems to be very popular as a server ... >>> Having used Linux but not FreeBSD, this seems to be the opposite ... >> compatibility is a major goal, ...
    (comp.os.linux.misc)
  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)
  • Re: Newbie Experience
    ... I've only been around since FreeBSD 5.4 ... FreeBSD kernel too. ... always sunshine and linux is farts. ... in the hey day of AT&T Unix I'm ...
    (freebsd-questions)
  • Re: Review of FreeBSD 5.4
    ... but not less problems compared to FreeBSD. ... If you like to have a bleeding edge system using debian --- just go ... > the linux kernel suffers. ... When the kernel suffers, everyone who uses ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD & Linux distro
    ... as a FreeBSD advocacy the tone of the article should be neutral and all ... do not like Linux and more over I have never used it in my life but I ... Statement of the type BSD appears more stable than Linux is ... fewer FreeBSD advocates make claims like that, however, is part of the ...
    (freebsd-questions)