FreeBSD Bugzilla – Attachment 248613 Details for
Bug 264450
ufs: Partition recognized on 12.3 not recognized on CURRENT (2573e6ced996): Cannot find file system superblock .. Invalid fstype: Invalid argument
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
additional proposed fsck_ffs fix
diffs (text/plain), 974 bytes, created by
Kirk McKusick
on 2024-02-19 20:38:43 UTC
(
hide
)
Description:
additional proposed fsck_ffs fix
Filename:
MIME Type:
Creator:
Kirk McKusick
Created:
2024-02-19 20:38:43 UTC
Size:
974 bytes
patch
obsolete
>diff --git a/sbin/fsck_ffs/fsutil.c b/sbin/fsck_ffs/fsutil.c >index aa536fb5dd4e..2acf825b159f 100644 >--- a/sbin/fsck_ffs/fsutil.c >+++ b/sbin/fsck_ffs/fsutil.c >@@ -1017,7 +1017,6 @@ check_cgmagic(int cg, struct bufarea *cgbp) > CHK(cgp->cg_ndblk, >, sblock.fs_fpg, "%jd"); > if (sblock.fs_magic == FS_UFS1_MAGIC) { > CHK(cgp->cg_old_niblk, !=, sblock.fs_ipg, "%jd"); >- CHK(cgp->cg_old_ncyl, >, sblock.fs_old_cpg, "%jd"); > } else if (sblock.fs_magic == FS_UFS2_MAGIC) { > CHK(cgp->cg_niblk, !=, sblock.fs_ipg, "%jd"); > CHK(cgp->cg_initediblk, >, sblock.fs_ipg, "%jd"); >@@ -1034,7 +1033,6 @@ check_cgmagic(int cg, struct bufarea *cgbp) > } else if (sblock.fs_magic == FS_UFS1_MAGIC) { > CHK(cgp->cg_niblk, !=, 0, "%jd"); > CHK(cgp->cg_initediblk, !=, 0, "%jd"); >- CHK(cgp->cg_old_ncyl, !=, sblock.fs_old_cpg, "%jd"); > CHK(cgp->cg_old_niblk, !=, sblock.fs_ipg, "%jd"); > CHK(cgp->cg_old_btotoff, !=, start, "%jd"); > CHK(cgp->cg_old_boff, !=, cgp->cg_old_btotoff +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264450
:
234446
|
234455
|
248471
|
248551
| 248613