> Thanks Ed for the tip ! While mulling this over I
> wondered what would happen when one dd's to a larger
> drive. Does the target have to have ext2fs already
What is on the target is irrelevant if you dd to it.
If you dd to a drive with a different geometry, at best
it will act like the smaller drive and waste the space,
and at worst it will corrupt and fail and such.
It is much safer to do a cpio copy. I usually use rsh/rshd,
but with the nc example given, you would do: (On a _mounted_
filesystem, of course!)
nc -l -p 7001 | cpio -iuvmdb
find / | cpio -ob | nc -w 3 -n 192.168.0.240 7001
You should only consider using dd if you really really understand the
implications...
The advantage of rsh/rshd is that you control it more easily from one
side, you would't type a command on both machines as above...
-Tom