NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59600 CVS commit: [netbsd-10] src
The following reply was made to PR install/59600; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59600 CVS commit: [netbsd-10] src
Date: Thu, 7 May 2026 15:32:38 +0000
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.
Home |
Main Index |
Thread Index |
Old Index