On Friday 15 August 2008 23:15, Andrei Popescu wrote: > On Fri,15.Aug.08, 23:05:32, Shachar Or wrote: > > > I like rsync. If you do it from a live CD it will copy only files > > > actually on disk, not the ones created dynamically by e.g. udev. > > > > There's the -x option for this. It isn't specifically for this purpose > > but it works. > > AFAIU -x will prevent rsync from touching /proc, /sys and /dev, but you > will need the directories themselves to be present on the new root > partition, so I think it is better to omit -x *if* the system you want > to clone is *not* running.
But wait - doesn't it copy the directories themselves, aka the mount points? > > Regards, > Andrei -- Shachar Or | שחר אור http://ox.freeallweb.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]