euglug.org

[Eug-lug] Gentoo system – moving drives

작성자

카테고리:



Bob MillerSat Jul 10 08:18:17 PDT 2004

Bob Miller wrote:

> 	# (cd /; tar cfl - .) | tar xfp -    # Note the "l" flag!
> 	# (cd /home; tar cfl - .) | tar xfp -
> 	# (cd /usr; tar cfl - .) | tar xfp -

Oops, this is wrong.  Don't do that.  Do this instead.

	# (cd /; tar cfl - . home usr) | tar xfp -

The way I first wrote it, it would dump all files into /new, instead
of /new, /new/home and /new/usr.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     kbob at jogger-egg.com