From: Dave Airlie (airlied at domain csn.ul.ie)
Date: Thu 06 Sep 2001 - 14:04:39 IST
I'd wager because cp is known for doing terrible things with links and
permission unless you know the correct incantation and it doesn't work on
all UNIX the same way... whereas tar... tar works the same .. it always
does exactly what it says on the man page..
On Thu, 6 Sep 2001, Jerry Walsh wrote:
> May I ask why you used tar rather then just cp?
> At 13:46 06/09/01 +0100, you wrote:
> >Well my idea (which I couldn't see problems with)
> >was to tar off the data on the fly from /usr to /mnt/usr, from /var to
> >etc. etc.
> >cd /usr; tar lcvf - . | (cd /mnt/usr; tar xpvf - )
-- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at domain skynet.ie pam_smb / Linux DecStation / Linux VAX / ILUG person
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:01 GMT