So sprach Brian Caffrey am Wed, Jan 31, 2001 at 06:16:29PM -0800:
> tar cf - * | tar xvf - -C /mnt/newusr
Well, but why did it not work for me the last time? I had a problem with
hardlinks when doing tar. I tried to copy /bin which contains a hardlink
from zcat to gzip - after the tar zcat was not existant at the new location
and during the tar I got an error message saying "invalid cross-device
hardlink" (or somesuch). This did not happen in cp -a
> before and it's not fun. The only problem with this
> that I have found is that all hard links will become
> there own file, hence more disk space usage.
Ah! So tar *breaks* things, whereas cp will not. Good to know. Thanks.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die guenstige Art an Linux Distributionen zu kommen
Uptime: 1 day 11 hours 29 minutes