Article View: alt.linux
Article #643Re: Copying
From: loki
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
28 lines
1603 bytes
1603 bytes
Steve Oxley <viking@valhalla.cc.monash.edu.au> wrote unto us:
>In article <37F433E9.D6C97D1@pantek.com>, Richard Zack wrote:
>>I'd make a "tarball"!
>>cd /usr
>>tar -cvv -f newfile.tar *
>>cp newfile.tar /newusr
>>rm -rf /usr
I think removing the old /usr so fast is probably a bad idea, it's better
to keep it around, possibly reboot to make sure everything works fine, and
then think about deleting it.
>>mv /newusr /usr
>>Richard Zack <richard@pantek.com>
>
>Or better still, mount the new disk under /mnt, and then:
>cd /usr
>tar cf - . | (cd /mnt;tar xvf - )
This is less line and doesn't use disk space for a temp file, but isn't it
possibly going to use a heck of a lot of RAM?
--
loki
eloki/at/zip.com.au
Dare I disturb the universe? You bet I do! :)
Technical Details
Message-ID:
<slrn7v8hkr.nue.eloki@zipperii.zip.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7t17hd$nel$1@m2.c2.telstra-mm.net.au> <37F433E9.D6C97D1@pantek.com> <slrn7v8dm4.fdl.viking@valhalla.cc.monash.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100c5f,aff733d416733c45 X-Google-Attributes: gid100c5f,public X-Google-Thread: 102983,aff733d416733c45 X-Google-Attributes: gid102983,public X-Google-Thread: fb7a0,aff733d416733c45 X-Google-Attributes: gidfb7a0,public X-Google-Thread: 136b98,aff733d416733c45 X-Google-Attributes: gid136b98,public From: eloki@zip.com.au-nospam (loki) Subject: Re: Copying Date: 1999/10/01 Message-ID: <slrn7v8hkr.nue.eloki@zipperii.zip.com.au> X-Deja-AN: 531423537 References: <7t17hd$nel$1@m2.c2.telstra-mm.net.au> <37F433E9.D6C97D1@pantek.com> <slrn7v8dm4.fdl.viking@valhalla.cc.monash.edu.au> Organization: Zip World User-Agent: slrn/0.9.5.7 (UNIX) Newsgroups: alt.linux,aus.computers.linux,bigpond.cable.tech.linux,linux.debian.user