cp doesn't keep permissions, I learned this the hard way, here's the most
reliable way to do it:
mkdir dst_dir
cd dst_dir
(cd src_dir; tar cf - . ) | tar xvpf -
david
----- Original Message -----
From: "cmead" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 7:29 PM
Subject: Re: Drive Imaging
> 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?
>
> 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...
> >
> > *********** REPLY SEPARATOR ***********
> >
> > On 8/01/01 at 19:02 cmead wrote:
> >
> > >Hi,
> > >
> > >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.
> > >
> > ;
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list