[Bug 276571] makefs(8) creates broken UFS images with sectorsize option (-S)
Date: Fri, 26 Jan 2024 22:29:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276571 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=176b9e0d724b4c1a24d2c46a1256381784f04edc commit 176b9e0d724b4c1a24d2c46a1256381784f04edc Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2024-01-25 01:47:36 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-01-26 22:27:57 +0000 makefs: warn that ffs sectorsize other than 512 may not work newfs always sets sectorsize to DEV_BSIZE (512) and derives some other values based on the number of 512-byte sectors per real sector. Similar logic is required in makefs. Until that happens, emit a warning that the image may be incorrect. PR: 276571 usr.sbin/makefs/ffs.c | 3 +++ 1 file changed, 3 insertions(+) -- You are receiving this mail because: You are the assignee for the bug.