[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID1 root on nslu2



2007/4/8, Lennart Sorensen <lsorense@csclub.uwaterloo.ca>:
On Sun, Apr 08, 2007 at 07:29:16AM +0200, Toon Verstraelen wrote:
> cd ${newrootdirectory}
> tar -C / -clspf - bin boot dev etc initrd lib media opt root sbin selinux
> srv usr var | tar -xlspvf -
> mkdir home sys proc tmp
> chmod 1777 tmp

What is wrong with something like: cp -ax / ${newrootdirectory}
That should take care of all those steps above.

That is indeed much simpler and it does the same. I did not know about the -x option. Thanks for the tip.

--
Toon Verstraelen
Gustaaf Eylenboschplein 16
9000 Gent
Belgium
Reply to: