Thread (43 messages) flat view 43 messages, 16 authors, 2002-02-19

Re: Final question: best wasy to move /, /usr, /home, etc?

From: Gabriel Paubert <hidden>
Date: 2002-02-18 15:05:14

On Mon, 18 Feb 2002, Derrik Pates wrote:
On Mon, Feb 18, 2002 at 09:42:53AM +0100, Giuliano Pochini wrote:
quoted
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):

`-d' `--no-dereference'
     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.

	Regards,
	Gabriel.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help