🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #641

Re: Copying

#641
From: Richard Zack
Date: Fri, 01 Oct 1999 00:00
27 lines
1700 bytes
> 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
---------------------------------------------------
Technical Details
Message-ID: <37F433E9.D6C97D1@pantek.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7t17hd$nel$1@m2.c2.telstra-mm.net.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,aff733d416733c45
X-Google-Attributes: gid102983,public
X-Google-Thread: 136b98,aff733d416733c45
X-Google-Attributes: gid136b98,public
X-Google-Thread: 100c5f,aff733d416733c45
X-Google-Attributes: gid100c5f,public
X-Google-Thread: fb7a0,aff733d416733c45
X-Google-Attributes: gidfb7a0,public
From: Richard Zack <richard@pantek.com>
Subject: Re: Copying
Date: 1999/10/01
Message-ID: <37F433E9.D6C97D1@pantek.com>
X-Deja-AN: 531403044
Content-Transfer-Encoding: 7bit
References: <7t17hd$nel$1@m2.c2.telstra-mm.net.au>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: news.onlynews.com 938751202 216.144.10.125 (Thu, 30 Sep 1999 21:13:22 PDT)
Organization: Pantek, Inc.
MIME-Version: 1.0
NNTP-Posting-Date: Thu, 30 Sep 1999 21:13:22 PDT
Newsgroups: alt.linux,aus.computers.linux,bigpond.cable.tech.linux,linux.debian.user