[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/54480 CVS commit: [netbsd-9] src/usr.sbin/sysinst
The following reply was made to PR install/54480; it has been noted by GNATS.
From: "SAITOH Masanobu" <msaitoh%netbsd.org@localhost>
Subject: PR/54480 CVS commit: [netbsd-9] src/usr.sbin/sysinst
Date: Wed, 23 Oct 2019 06:30:17 +0000
Module Name: src
Committed By: msaitoh
Date: Wed Oct 23 06:30:16 UTC 2019
src/usr.sbin/sysinst [netbsd-9]: disks.c
Pull up following revision(s) (requested by martin in ticket #369):
usr.sbin/sysinst/disks.c: revision 1.51
PR install/54480: when upgrading a system and re-mounting the target /
with proper options, and the installed system does not use NAME= syntax
in fstab(5), use the device name we used to get here, instead of the
name from fstab, it might be different to what the real system calls the
device (compact flash root showing up as wd0 native, but sd? on the
card reader used for updating it right now).
This is an abuse of the upgrade functionality and in general pretty dangerous
when multiple devices are used in the upgraded fstab (e.g. separate /usr),
and it used to work more by accident with the old code.
However, it is a quite usefull way to upgrade tiny systems with compact flash
root, and it used to work - so support it properly (as far as we can).
To generate a diff of this commit:
cvs rdiff -u -r22.214.171.124 -r126.96.36.199 src/usr.sbin/sysinst/disks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |