Bug 86362

Summary: fsck_ffs(8): An alternate super block location for UFS2 is not mentioned.
Product: Documentation Reporter: KOMATSU Shinichiro <koma2>
Component: Books & ArticlesAssignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description KOMATSU Shinichiro 2005-09-20 07:40:00 UTC
According to fsck_ffs(8), alternate super block is located at block 32,
but this value is for UFS1 and 160 is the right value for UFS2.

How-To-Repeat: 
newfs(8) says super-block backup is locate at block 160 as follows:

# newfs /dev/md0
 /dev/md0: 100.0MB (204800 sectors) block size 16384, fragment size 2048
         using 4 cylinder groups of 25.02MB, 1601 blks, 3264 inodes.
 super-block backups (for fsck -b #) at:
  160, 51392, 102624, 153856
Comment 1 Xin LI freebsd_committer freebsd_triage 2005-09-20 09:06:42 UTC
State Changed
From-To: open->patched

MFC Reminder 


Comment 2 Xin LI freebsd_committer freebsd_triage 2005-09-20 09:06:42 UTC
Responsible Changed
From-To: freebsd-doc->delphij

Take
Comment 3 Xin LI freebsd_committer freebsd_triage 2005-10-03 16:03:57 UTC
State Changed
From-To: patched->closed

The patch was merged back to RELENG_5 and RELENG_6 some days ago, 
but I forgot to close it.  Thanks for your submission!