Go to file
wdk caa807ac35 * Tidy up reading of Mips volume header information
All compatable values are copied from the MIPS volume header to the
  BSD disklabel structures.

* Add support for writing Mips volume header.

* Remove support for writing NetBSD label directly (this was broken)

These changes allow the kernel to read either a BSD disklabel created under
NetBSD/sparc or a MIPS volume header created under RISC/os.

There is a small amount of losage with the conversion between the 2
types of disk labels (mainly to do with file system types).
A table is used to map partition numbers and types between the two
types, and unless someone does something real fancy (or crazy) it should
work in both senario's

This change will allow the stand alone shell to directly load a NetBSD
kernel and mount a file system, avoiding the need for a seperate disk or
bootp server to bootstrapping NetBSD.

NetBSD/mipsco is now self sufficiant.  We are not far from having a
miniroot filesystem and removing the need to have another NetBSD
machine to create the base filesystems.

Minor Trap for young players:
   The root partition must be created with 'newfs -O' in order for the
   stand alone shell to boot the kernel

TODO:
   Add support for writing NetBSD disk labels back in - it will be useful
   for non boot disks.   I'm just not sure how to control the 2 behavours
2000-08-22 11:59:34 +00:00
bin Work around a groff bug by splitting a long .Cm into two parts. 2000-08-21 13:53:50 +00:00
crypto fix bad mdoc markup. closed PR/10854 2000-08-20 10:36:40 +00:00
dist do not #undef _res; we want to get any #define our local resolv.h has. 2000-08-14 11:33:34 +00:00
distrib repalce rc.d/fsck.sh with rc.d/fsck 2000-08-22 08:38:54 +00:00
etc unxexpand -a 2000-08-22 11:31:28 +00:00
games If we install limerick-o.dat, we should also install limerick-o to make it 2000-08-17 16:54:28 +00:00
gnu Call mcount for profiling. 2000-08-22 11:24:41 +00:00
include ISO/IEC 9899:1999: MB_CUR_MAX expands to a positive integer expression with 2000-08-10 10:03:43 +00:00
lib Typo. 2000-08-21 23:23:23 +00:00
libexec make error case handling in -daemon case meet with other portion of the code. 2000-08-18 03:25:52 +00:00
regress Add md5sha subdir 2000-08-19 17:53:24 +00:00
sbin Add space in summary printf. 2000-08-19 21:31:58 +00:00
share - document `nostart' support for /etc/rc 2000-08-22 08:53:17 +00:00
sys * Tidy up reading of Mips volume header information 2000-08-22 11:59:34 +00:00
usr.bin - Don't core dump when we have stale utmp entries; warn the user instead. 2000-08-21 00:19:06 +00:00
usr.sbin replace references to /etc/rc.wscons with /etc/rc.d/wscons 2000-08-22 08:49:01 +00:00
Makefile Descend into distrib on "make cleandir", too. This will let "make build" 2000-08-19 22:09:08 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00
UPDATING crypto-* is no longer there. 2000-08-20 19:51:24 +00:00