In article <[EMAIL PROTECTED]>, Hamish Moffatt <[EMAIL PROTECTED]> wrote: >I'm having a nightmare trying to copy my root file system to its >new home. If I mount the original as / and the new one as /mnt, >both > >cp -ax /* /mnt > >and > >( cd /; tar clvf - * ) | ( cd /mnt; tar xf - ) > >attempt to copy /mnt anyway, and /proc too. ie, the -x and -l switches >to cp and tar respectively appear to be ignored.
They are not ignored - you are asking both tar and cp _explicitly_ to copy /mnt and /proc, because of the '*'. If anything was mounted _under_ /mnt or /proc, that would not be copied. Try: cp -ax / /mnt or ( cd /; tar clf - . ) | ( cd /mnt; tar xvf - ) Mike. -- Miquel van Smoorenburg | The dyslexic, agnostic, insomniac lay in his bed [EMAIL PROTECTED] | awake all night wondering if there is a doG -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .