On Sat, 14 Dec 2002, Yury Tarasievich wrote:
> >On Fri, Dec 13, 2002 at 02:28:00PM -0800, Nate Lawson wrote:
> >>I've successfully repaired a fs with the superblock backup at 32.  Now how
> >>do I copy that backup to the default superblock location?  fsck_ffs does
> >>NOT automatically do this.
> 
> If FS boundaries are right, one can always try newfs -N, then fsck with -b.
> I tried this once and succeeded using superblock copy being really more 
> distant from FS start.

I appreciate the help but you're both answering the wrong question.  Go
re-read my question above again.  The current workaround (as given by
mckusick@) is:

---
> It used to be that when you ran with an alternate superblock, the
> last question asked by fsck is whether you wish to update the
> standard superblock.  Answering yes would do that update for you.
> As it appears that that feature got dropped, you can do the copy
> manually using:
>
>        dd if=<disk> skip=32 of=<disk> seek=16 bs=512 count=16
---

-Nate


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to