Go to file
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
bin lint 1997-11-05 21:17:14 +00:00
distrib Fix target prefixing to handle both root-in-swap (traditional miniroot) 1997-11-09 12:47:06 +00:00
etc Ooops. It's blk=2,chr=12, not the other way around. 1997-11-08 20:56:35 +00:00
games Must have the correct library link order to be able to link 1997-11-05 12:12:32 +00:00
gnu Don't do function CSE; it tickles a bizarre bug in other parts of the 1997-11-04 20:59:11 +00:00
include Fix __RENAME quoting lossage (don't pass it a quoted string). From 1997-11-04 23:36:19 +00:00
lib move description of history() return value 1997-11-09 00:13:52 +00:00
libexec fix so syslog works after chroot, by adding LOG_NDELAY to openlog. 1997-11-06 00:08:02 +00:00
regress getopt returns -1 not EOF 1997-11-01 06:20:47 +00:00
sbin Fix man page confusion about the -R option, per PR#4246 1997-11-06 10:07:33 +00:00
share Mention NETATALK as a kernel networking option. 1997-11-09 01:02:06 +00:00
sys Get rid of MSGBUFPTECNT; fixes PR 4331. 1997-11-09 06:10:44 +00:00
usr.bin cosmetic change 1997-11-08 09:37:44 +00:00
usr.sbin more fixes for OPTIMIZE_DB (seems like this code was an unfinished idea; 1997-11-08 15:36:09 +00:00
Makefile Make the "build" target depend on "beforeinstall", ensuring that all 1997-10-27 18:06:39 +00:00