Date: Wed, 10 Apr 1996 13:42:21 -0700 (PDT) From: Richard Chang <richardc@CSUA.Berkeley.EDU> To: Gabor Zahemszky <zgabor@CoDe.hu> Cc: freebsd-questions@freebsd.org Subject: Re: hard reading error Message-ID: <Pine.PTX.3.91.960410134155.24231A-100000@soda.CSUA.Berkeley.EDU> In-Reply-To: <199604101420.OAA03490@CoDe.CoDe.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Apr 1996, Gabor Zahemszky wrote: > > > # (cd /dead_filesystem; tar cf - . ) | (cd /new_filesystem; tar xvf -) > > > > Is there a way to copy /dev to another drive since I've tried > > before and it doesn't appear to be working. > > Yes. You can use it with the previous method, or you can use cpio, or pax, > too: > cpio: > cd /dev ; find . -depth -print | cpio -o | ( cd /newdev ; cpio -id ) > or another way of it: > cd /dev ; find . -depth -print | cpio -pd /newdev > > pax: > cd /dev ; find . -depth -print | pax -w | ( cd /newdev ; pax -r ) > or: > cd /dev ; find . -depth -print | pax -rw /newdev > > With pax, you have more versions, too. (As I know, cpio, dump, - and if you > have - pax can save device files, but original tar not. Of course, FB uses > GNU-tar, which hase this nice feature.) Hmmm, okay... What is FB? Richard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.PTX.3.91.960410134155.24231A-100000>