Re: Adding a second drive

Travis Low (tlow@mindq.com)
Tue, 08 Jun 1999 09:34:30 -0400


At 02:43 PM 6/8/99 +0200, Filippo Carletti wrote:
>>Transfer the information by using tar. DO NOT USE "cp"!!!! Change to the
>root directory, and type:
>
>Why ?
>cp -a works nicely and it's faster then cpio -p

Because of the documentation, which states:

The program accepts the following options. Also see *Note Common
options::.
`-a'
`--archive'
Preserve as much as possible of the structure and attributes of the
original files in the copy (but do not preserve directory
structure). Equivalent to `-dpR'.

"Preserve as much as possible" doesn't give me a warm feeling.

>cpio is useful when you have to copy the root fs (find / -xdev ...)
>
>cd /newdest && tar cf - /oldpath | tar xvf - is a handy tar usage example.

True, but the user was a newbie so I gave him an easy way, not the quickest way. Plus he can back up the intermediate files, if he chooses. Not faster, but safer.

Travis

Travis Low - tlow@mindq.com
MindQ Publishing 11490 Commerce Park Drive #400 Reston VA 20191-1532 USA
http://www.mindq.com
+1 703 262 6616 (direct)
+1 703 716 0237 (fax)

"The sager is off the ping!" -- Tiernan Low
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu