[Sunhelp] Solaris question

Chanaka Mendis sunhelp at sunhelp.org
Mon Nov 13 21:10:51 CST 2000


James Lockwood wrote:

> On Mon, 13 Nov 2000, Dale Ghent wrote:
>
> > cd /olddatalocation ; tar cfv - . | (cd /newdatalocation ; tar xfp -)
>
> I highly recommend modifying this to:
>
> cd /olddatalocation ; tar cfv - . | (cd /newdatalocation && tar xfp -)
>
> Note the "&&".  This will prevent all sorts of interesting things from
> happening if you misspell "newdatalocation".  Saved me more than once and
> IMHO well worth the extra character.
>
> -James
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

If you want to move root file system to a new disk  U cannot use tar.
Otherwise that is the way.

/Gayantha




More information about the SunHELP mailing list