Brian Rogers 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
>
> Don't you also have to be sure that you use the right block size (bs=)?
> I think I heard that this is very important. But I've never tried it, so
> I don't know.
No, not for copying files or block devices. dd basically just reads
<blocksize> bytes from its input and writes them to its output. The
block size only matters if it matters to the underlying input or
output streams, e.g. reading or writing from a tape drive.
--
Glynn Clements <[EMAIL PROTECTED]>