On Mon, 8 Jan 2001, cmead wrote:

> I was figuring that would be one way to do it however uing that method do
> you believe all of the permissions would remain the same?
> 

I don't believe that will preserve permissions, etc. Two options I know
of here are:

cp -rp <src> <dst> (r = recursive descent, p = preserve owner,
permissions, etc.)

cp -a <src> <dst> IIRC will do the same thing.  I usually use "cp -av".

best
     rickf


> Does anyone else have an opinion?
> 
> Thanks for the response Greg  : )
> 
> ----- Original Message -----
> From: "Greg Wright" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 08, 2001 7:17 PM
> Subject: Re: Drive Imaging
> 
> 
> > Look in the archives for various answers....but
> >
> > cp /dev/hdx /dev/hdx     where x is a different drive should copy
> > everything, cannot comment on flaws though...
> >
> > >I'm using 6.2, I have a 10GB hard drive which is partitioned in half
> first
> > >5
> > >GB is / the other half is /home. The box is our server which i use for
> > DNS,
> > >Samba, Netatalk, Masq, printing...so for me alot of work went into
> setting
> > >this up it runs perfectly :)
> > >
> > >My question, is I want to upgrade to a new much bigger hard drive over
> > >40GB.
> > >Is there a *flawless* way to just plug in the new drive and copy
> > everything
> > >over and then remove the old drive? So i could use as a back up in case
> > >this
> > >new one ever goes down.


Rick Forrister                 <[EMAIL PROTECTED]>

Definition:  Honest Politician:  Once bought, stays bought."
                                --Robert Heinlein





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to