Re: using tar and turning grey

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 11 February 2004 06:23 am, Cameron Simpson wrote:

> The filesystems _are_ actually mounted, yes?
> Not merely mentioned in the fstab?

Yes... I even tested by writing to them and looking at df to see that 
the files were ending up on the right drive.

> What does "df -lk" say?

It says everything ended up on the / partition until it filled up.

> That generates a tar file with paths starting "/mnt/hda1/blah...".
> If hda1 is supposed to be being copied onto / on the target system
> you want this:
>
> 	cd /mnt/hda1
> 	tar cf - . | ssh root@xxxxxxxxxxxxx 'cd / || exit 1; tar xf -'

You've got it!  My face is red. Me bad.

<blush>

Thanks very much.  I'm going to get the hair dye tonight; I'll re-tar 
everything again in the morning.

> Does that do what you intend?

I'm sure it will.

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Professional Internet Services & Support / Consulting / Colocation
Our blists address used on lists is for list email only
Phone +1 909 324-9706, or see: "http://www.nobaloney.net/contactus.html";


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux