[geeks] disksuite.

Scott Howard scott at doc.net.au
Sun Feb 17 04:34:44 CST 2002


On Sun, Feb 17, 2002 at 04:01:28AM -0600, Bill Bradford wrote:
> # ufsdump 0f - /dev/rdsk/<current-root> | (cd /newroot;ufsrestore xf -)

I's good practice to use something like :

# ufsdump 0f - /dev/rdsk/<current-root> | (cd /newroot && ufsrestore xf -)

That way if the cd fails (because you've typed the new directory in wrong)
you dont end up trying to ufsresore over same place as you're ufsdump'ing!

  Scott



More information about the geeks mailing list