> So far I haven't succeeded.  I haven't been able to confine tar's action to
> a single filesystem (so that directories linked to directories on other
> filesystems, on the other system drive, will not be copied.  Included is the
> linux boot filesystem, /dev/hda2.  I basically want the current drive
> duplicated to the new drive, with larger partitions, and another partition.

Hello...

I do this lastweek:

Mount new partition
        mount -t ext2 /dev/hdd2 /mnt

List a directory
        find /bin -depth > file.bin

Copy
        cpio -p -v -d -u /mnt < file.bin

Doing find / -depth > file and cpio -p -v -d -u /mnt < file seems not work at 
all: I get file /mnt/bin/bash : data.

Sorry for the bad english.

Angel Vicente Perez
Dpto. Informática
KNIPPING ESPAÑA S.A.
Tfno.   +34-1-6070-311
Fax     +34-1-6070-331
e-mail  [EMAIL PROTECTED]

Reply via email to