Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 05:30:04 GMT
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/119638: [ffs] fsck_ffs -b 32 doesn't repair primary superblock
Message-ID:  <200803110530.m2B5U488085930@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/119638; it has been noted by GNATS.

From: Yoshihiro Ota <ota@j.email.ne.jp>
To: bug-followup@FreeBSD.org
Cc: freebsd@sopwith.solgatos.com
Subject: Re: kern/119638: [ffs] fsck_ffs -b 32 doesn't repair primary
 superblock
Date: Tue, 11 Mar 2008 01:21:53 -0400

 Was your filesystem on /dev/da0s1 "UFS version 1?"
 
 See "man fsck_ffs":
 
      -b      Use the block specified immediately after the flag as the super
              block for the file system.  An alternate super block is usually
              located at block 32 for UFS1, and block 160 for UFS2.
 
 If you had UFS2, which is the default since 5.1-RELEASE for almost 4 years,
 you should have used 160, instead.
 
 Hiro



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