NetBSD/distrib
jonathan b3da2a1b88 Fix target prefixing to handle both root-in-swap (traditional miniroot)
and current-root-is-target-root (pmax diskimage.

 * Add code to check disk names (e.g., "sd0") against the current
   kern.root_device  sysctl (whic  does *not* include a partition).

 * Add new function must_mount_root():
   check to see if it's the same device as the root.  If not,
   the current and target root partitions cannot overlap.
   If they do, do statfs() on "/", and return 1 iff we get back
   "root_device" as the mounted-on filesystem, otherwise zero.

* Call must_mount_root() right after the user specifies a disk as
  install/upgrade target, and  if it returns 1, print a message asking
  them to mount root, and abort.

*  Use statfs("/")  mounted_from string to check if a disk partition
    (e.g., "sd0a") matches the current root.
1997-11-09 12:47:06 +00:00
..
alpha Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:06:16 +00:00
amiga The amiga tty erase character is ^?, not ^H. 1997-11-08 23:02:05 +00:00
arm32 Remind the use which sets MUST be installed at the end of this script. 1997-11-08 02:29:24 +00:00
atari/miniroot Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
hp300 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
i386/floppies Add sysinst as an option in the start menu. 1997-11-05 22:58:22 +00:00
mac68k/miniroot Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
miniroot Add nfsd' and nfsiod' to the list of relocated files. 1997-11-03 10:15:23 +00:00
notes Install notes for NetBSD/arm32. 1997-11-08 02:55:06 +00:00
pc532/floppies Update for changes to vnconfig(8). 1997-06-23 21:29:50 +00:00
pmax/miniroot Installation termcap file with entries for rcons on pmax framebuffers. 1997-11-03 10:57:02 +00:00
sets back out last change 1997-11-07 05:34:07 +00:00
sparc Remove unneeded link to `/usr/sbin/installboot' 1997-10-31 21:53:25 +00:00
sun3 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
utils Fix target prefixing to handle both root-in-swap (traditional miniroot) 1997-11-09 12:47:06 +00:00
vax Update for changes to vnconfig(8). 1997-06-23 21:29:50 +00:00
x68k/floppies Remove old-style install image. 1997-10-19 15:39:14 +00:00