Article View: alt.linux
Article #634Re: Copying
From: Richard Zack
Date: Thu, 07 Oct 1999 00:00
Date: Thu, 07 Oct 1999 00:00
60 lines
2610 bytes
2610 bytes
Then look at either dd, cpio or cp -R :) Celestial Wizard wrote: > do you how big /usr is???? > > -- > > Celestial Wizard > > President > South East Brisbane Linux Users Group > http://merlin.hatfields.com.au/seblug/ > > Linux - Where You WANT To Be! > > Richard Zack <richard@pantek.com> wrote in message > news:37F433E9.D6C97D1@pantek.com... > > > I have a new hard drive. And want to basically take the /usr directory, > and > > > throw it on that drive, and then mount the new drive under /usr. > > > > > > How do I get a copy of /usr , with all the links done properly? > > > > > > (cp -R didnt copy links properly (copied the file it was pointing too)) > > > > > > > I'd make a "tarball"! > > > > cd /usr > > tar -cvv -f newfile.tar * > > cp newfile.tar /newusr > > rm -rf /usr > > mv /newusr /usr > > > > > > Richard Zack <richard@pantek.com> > > Red Hat Certified Engineer (RHCE) > > > > Pantek Incorporated - www.pantek.com > > --------------------------------------------------- > > Commercial Linux Support and Solutions Center > > Network Consulting and Network Security > > Internet Access Solutions > > 440-708-1855 > > --------------------------------------------------- > > > > -- Richard Zack <richard@pantek.com> Red Hat Certified Engineer (RHCE) Pantek Incorporated - www.pantek.com --------------------------------------------------- Commercial Linux Support and Solutions Center Network Consulting and Network Security Internet Access Solutions 440-708-1855 ---------------------------------------------------
Technical Details
Message-ID:
<37FC0FD3.30115D02@pantek.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7t17hd$nel$1@m2.c2.telstra-mm.net.au> <37F433E9.D6C97D1@pantek.com> <arAK3.430$Nr6.831@news2.usenetserver.com>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: 136b98,aff733d416733c45 X-Google-Attributes: gid136b98,public X-Google-Thread: fb7a0,aff733d416733c45 X-Google-Attributes: gidfb7a0,public X-Google-Thread: 102983,aff733d416733c45 X-Google-Attributes: gid102983,public From: Richard Zack <richard@pantek.com> Subject: Re: Copying Date: 1999/10/07 Message-ID: <37FC0FD3.30115D02@pantek.com> X-Deja-AN: 533748624 Content-Transfer-Encoding: 7bit References: <7t17hd$nel$1@m2.c2.telstra-mm.net.au> <37F433E9.D6C97D1@pantek.com> <arAK3.430$Nr6.831@news2.usenetserver.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: news.onlynews.com 939266240 216.144.10.63 (Wed, 06 Oct 1999 20:17:20 PDT) Organization: Pantek, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Wed, 06 Oct 1999 20:17:20 PDT Newsgroups: alt.linux,aus.computers.linux,bigpond.cable.tech.linux,linux.debian.user