[Bug 277739] makefs creates UFS filesystem that fsck considers invalid
[email protected] Sat, 23 May 2026 05:38:06 +0000
| Newsgroups | gmane.os.freebsd.devel.file-systems |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277739 Kirk McKusick <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |[email protected] --- Comment #5 from Kirk McKusick <[email protected]> --- When makefs builds UFS filesystems by defaulk it is using UFS1 (which we stopped doing two decades ago). Further it is at least a decade out of date having none of the modern reliability improvements such as superblock and inode checksums. It also is still using layout styles that are at least a decade out of date. It appears to be using NetBSD's ufs filesystem. Rather than trying to bring all that code up to date, it should just fork off a mkfs to build the filesystem as in that way it will keep up with ongoing work to harden and improve UFS. It would require minimal work to adapt mkfs to writing a disk image to a file rather than to a disk partition. See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273725 -- You are receiving this mail because: You are the assignee for the bug.