Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 19:04:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276571] makefs(8) creates broken UFS images with sectorsize option (-S)
Message-ID:  <bug-276571-227-3zp4JmwxJP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276571-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276571-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276571

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D0459337491cdfdd752507c0d2722999a6=
a9781ef

commit 0459337491cdfdd752507c0d2722999a6a9781ef
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-01-25 01:47:36 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-03-22 19:03:48 +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
    (cherry picked from commit 176b9e0d724b4c1a24d2c46a1256381784f04edc)
    (cherry picked from commit 8e402178193f7b273a956b864d8d8b288ce62ee7)

 usr.sbin/makefs/ffs.c | 3 +++
 1 file changed, 3 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276571-227-3zp4JmwxJP>