CVS commit: [netbsd-10] src
"Martin Husemann" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: martin Date: Thu May 7 15:32:38 UTC 2026 Modified Files: src/sys/arch/x68k/x68k [netbsd-10]: disksubr.c src/usr.sbin/sysinst/arch/x68k [netbsd-10]: md.c Log Message: Pull up following revision(s) (requested by isaki in ticket #1264): sys/arch/x68k/x68k/disksubr.c: revision 1.38 usr.sbin/sysinst/arch/x68k/md.c: revision 1.14 sysinst/x68k: Remove unnecessary conditions in md_disklabe_is_default(). lp->d_bbsize and lp->d_sbsize should be constants (this is probably another bug) and should not be part of this check. Fix PR install/59600 x68k: Initialize d_bbsize and d_sbsize on the disklabel always. These values are for (old) FFS, so it didn't make sense to initialize only when the BSD disklabel was missing and the Human68k partition existed. This avoids disklabel(8)'s warnings: disklabel: boot block size 0 disklabel: super block size 0 Inspired from PR install/59600. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.36.20.1 src/sys/arch/x68k/x68k/disksubr.c cvs rdiff -u -r1.13 -r1.13.2.1 src/usr.sbin/sysinst/arch/x68k/md.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.