Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 1996 12:35:56 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        richardc@CSUA.Berkeley.EDU (Richard Chang)
Cc:        questions@freebsd.org
Subject:   Re: hard reading error
Message-ID:  <199604100305.MAA19168@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.PTX.3.91.960409192951.24231L-100000@soda.CSUA.Berkeley.EDU> from "Richard Chang" at Apr 9, 96 07:30:54 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Richard Chang stands accused of saying:
> > If you're using csh, something like this :
> > 
> > # cd /dead_filesystem
> > # dump 0bf 10000000 - | (cd /new_filesystem; restore rvf -)
> 
> 	Hmmm, thanks!  I always either tar and untar or just do a cp -R
> but never used dump and restore before...

A tarpipe will work too :

# (cd /dead_filesystem; tar cf - . ) | (cd /new_filesystem; tar xvf -)

> Richard

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604100305.MAA19168>