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,...???? (Yes I heard similar thing somewhere else, so you must be correct.) Osamu -- ~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ + Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D + + My debian quick-reference, http://www.aokiconsulting.com/quick/ +