[plug] Backup of a disk

Scott, Simon Simon.Scott at SEALCORP.com.au
Fri Apr 14 09:20:19 WST 2000

Whats the easiest way to retain the /dev entries? I was thinking about this
last night, about how funny it would be to tar /dev, and the problems that
would occur when you hit /dev/zero or /dev/random :) Is there anyway to
'backup' the special device files?

Also, is it true 2.4 will do away with /dev, which will be replaced by a
filesystem like /proc which will be maintained by the kernel depending on
what devices you have?

> ------------------------------------------------------
>  Simon Scott
>  DBA
>  Sealcorp Holdings Limited
>  Perth, WA
>  e-mail:  simon.scott at sealcorp.com.au
>  phone:  08 9265 5648
> ------------------------------------------------------
4.31 How many times can you re-use CD-RW before they become faulty? 
Good question. 
(Linux CD-Writing HOWTO,

-----Original Message-----
From: Brad Campbell [mailto:brad at seme.com.au]
Sent: Friday, 14 April 2000 8:27
To: plug at plug.linux.org.au
Subject: Re: [plug] Backup of a disk

Phillip Steege wrote:
> What is the best way to backup a complete disk to another one?
> Is "dd" the proper way?
> Phil Steege

I mount the new disk on /mnt
and do 
cd /mnt
tar --exclude=/proc --exclude=/mnt -cp / | tar -xpv
That duplicates the entire directory structure..
Of course, this is no good if you do the 'Right Thing'
and cut the drive up into multiple partitions..

"The ultimate result is that some innovations that would
truly benefit consumers never occur for the sole reason
that they do not conincide with Microsoft's self-interest"
- Judge Thomas Penfield Jackson
         \ /     ASCII RIBBON CAMPAIGN
          X      AGAINST HTML MAIL
         / \

More information about the plug mailing list