On Sun, 25 Jan 1998, Remco Blaakmeer wrote: > > cd / > > mount /dev/somedisk /mnt > > cp -a * /mnt > > > > See the mess? ( /mnt/mnt/mnt/... ) > > You could add the -x switch. This skips subdirectories that are not on the > same filesystem as the directories you are copying. > > cp -ax / /mnt
Trouble is that cp -ax will not copy /dev it treats them as normal files, it might also have problems with fifos and sockets.. tar -cl / | tar -x /mnt Doesn't have these problems though Jason -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

