7. There needs to be a command to copy all data Between cp, tar, rsync & friends there are dozens of variations how to copy over the files of a running system to another location, but none is perfect: - leave out lost+found - leave out /proc, /sys, the automatic /dev - copy all "real" files - copy the /dev on harddisk under the mounted devfs (using mount -bind or so) There is really need for a good program that does it; IMHO that program should be cp.
Here's how I do it: mkdir 1 2 mount -o ro /dev/hda1 1 # Despite it's already mounted somewhere mount /dev/hdb1 2 cp -avx --preserve=all 1/* 2 # rsync will do as well umount 2 umount 1 -- Alexey Feldgendler <alexey@feldgendler.ru> [ICQ: 115226275] http://feldgendler.livejournal.com