| Summary: | fsck_ffs(8): An alternate super block location for UFS2 is not mentioned. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | KOMATSU Shinichiro <koma2> | ||||
| Component: | Books & Articles | Assignee: | Xin LI <delphij> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->patched MFC Reminder Responsible Changed From-To: freebsd-doc->delphij Take 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! |
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