Final question: best wasy to move /, /usr, /home, etc?
subexpression at mac.com
Tue Feb 19 10:18:16 EST 2002
Just a note, "cp -a" is sort of a GNU-ish thing. On most other UNIX
systems you must use tar/cpio/rsync/whatever to preserve ownerships
and permissions. Just thought I'd point that out since I've seen
people make that mistake, and it can be a pain to clean up.
At 16:05 +0100 2/18/02, Gabriel Paubert wrote:
>On Mon, 18 Feb 2002, Derrik Pates wrote:
> > On Mon, Feb 18, 2002 at 09:42:53AM +0100, Giuliano Pochini wrote:
>> > cp -a works fine.
>> Yeah, unless you don't care about any hard links (which a simple 'cp -a'
>> will happily stomp all over). Using tar is a better bet (I've done it
>> plenty of times, it works).
>Strange enough, cp -a does preserve hard links for me. As it should
>since -a is equivalent to -dpR and -d means (from info cp):
> Copy symbolic links as symbolic links rather than copying the
> files that they point to, and preserve hard links between source
> files in the copies.
>I've used it often enough to be pretty sure about this feature.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev