Glynn, you said

If you use dd, ensure that the source partition is mounted
read-only, and that the target partition is unmounted.

Why? Can you explain. Thanks, Harold





On Fri, 8 May 1998, Glynn Clements wrote:

> 
> Nicolas Moeri wrote:
> 
> > I would like to duplicate a partition to have an exact copy in case where
> > my main partition crashes. What is the best way to do this in particular
> > to copy the special files.
> 
> You can either copy the raw partition contents with dd, e.g.
> 
>       dd if=/dev/hda1 of=/dev/hda2
> 
> or you can copy the directory structure with cp, e.g.
> 
>       cp -ax / /backup
> 
> (where /backup is the mount point of the backup partition).
> 
> NB: If you use dd, ensure that the source partition is mounted
> read-only, and that the target partition is unmounted.
> 
> -- 
> Glynn Clements <[EMAIL PROTECTED]>
> 

Reply via email to