[Bug 273725] makefs command creates UFS fs image with bad summary info when size option (-s) is specified
[email protected] Sat, 23 May 2026 05:35:08 +0000
| Newsgroups | gmane.os.freebsd.devel.file-systems |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273725 Kirk McKusick <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #11 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. -- You are receiving this mail because: You are on the CC list for the bug.