[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Copying one hard drive to another



--- Bryan Andersen <bryan@visi.com> wrote:
> Osamu Aoki wrote:
> > 
> > I am just curious :-)   (No flames against cpio)
> > 
> > On Mon, May 14, 2001 at 01:48:29PM -0500, Bryan Andersen wrote:
> > > > > copy /dev/hda1 to /dev/hdb1?
> > > >
> > > > mount /dev/hdb1 /mnt
> > > > cd <mountpoint of /dev/hda1>
> > > > find -xdev | cpio -padm /mnt
> > >
> > > This is the preferred method to copy partitions.  Some files
> don't
> > > copy properly with cp or tar, and dd dosen't deal with different
> > > partition sizes.  In general dd is bad due to bad blocks.  Many
> > > new disks remap out bad blocks, but they still can develop over
> > > time and not be mapped out by the HD's internal controller.
> > 
> > Hi can you enlighten us who uses "tar".  What files "tar" can not
> but
> > "cpio" can copy?  Are those arguments true for GNU tar?
> > 
> > pipe, softlink, hardlink, device nodes,...????
> 
> Named pipes and files with holes in their block allocation.
> 
> -- 
> |  Bryan Andersen   |   bryan@visi.com   |   http://www.nerdvest.com 
>  |
> | Buzzwords are like annoying little flies that deserve to be
> swatted. |
> |   -Bryan Andersen                                                  
>  |
> 

I get lazy and tend to use Midnight Commander (mc) to copy partitions.
I havn't had any problems to date, but is this bad practice?  
How does mc do its copying anyway?

Tks,
Patrick.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Reply to: