freebsd-dev/sys/conf
Joerg Wunsch e1df235292 Finally make vinum ready for the root filesystem in FreeBSD 5.x. (A
similar patch has been in 4.x for a while, but is more hacky there.)

For this to work, vinum has to be loaded early (e. g. from
boot/loader), for obvious reasons.  If the kernel env variable
(aka. loader variable) "vinum.autostart" is set, vinum then asks the
sysctl kern.disks for all available disks in the system, and scans
them for possible vinum headers.

For statically compiled kernels, this behaviour can be obtained even
without boot/loader by using "options VINUM_AUTOSTART" (though this is
not the recommended way).

Alternatively, the 4.x way to specify "vinum.drives" is also supported.

No further hacks (like the 4.x "vinum.root" variable) are needed,
since in 5.x, mountroot() asks back at the drivers to have them
resolve the name of the root FS into a dev_t (using the dev_clone
eventhandler).

(The MFC reminder below is for a partial MFC for vinum.autostart, the
rest is already there in 4.x.)

Timed out on:	grog
MFC after:	2 weeks
2003-02-05 21:02:56 +00:00
..
defines
files Add config glue to add an optional GEOM_VOL to add optional volume support. 2003-02-03 17:35:54 +00:00
files.alpha NO_GEOM cleanup: Remove subr_disklabel.c from alpha kernels. 2003-01-28 13:50:49 +00:00
files.amd64 Remove entries for files we don't have. 2003-01-30 06:26:17 +00:00
files.i386 Remove files which don't exist 2003-01-30 06:27:10 +00:00
files.ia64 Remove special casing for running in the simulator from the kernel 2003-02-01 22:50:09 +00:00
files.pc98 Add CanBe power management controller support. 2003-02-03 14:46:26 +00:00
files.powerpc Add cpu.c. This contains one exported function, cpu_setup(), which handles 2003-02-05 12:09:53 +00:00
files.sparc64 NO_GEOM cleanup: Don't include subr_disklabel.c in sparc64 build 2003-01-28 13:00:49 +00:00
kern.mk ia64 specific CFLAGS change: 2002-10-13 02:52:22 +00:00
kern.post.mk Move the miidevs.h build stuff to conf/files so that config(8) doesn't 2003-01-30 02:19:14 +00:00
kern.pre.mk Put back NORMAL_C_NOWERROR, it was actually used. 2002-10-19 22:24:43 +00:00
kmod_syms.awk Our awk does not implement the ARGIND variable, so we were attempting 2002-08-06 19:31:04 +00:00
kmod.mk Add CanBe power management controller support. 2003-02-03 14:46:26 +00:00
ldscript.alpha Use the new freebsd output format from Binutils 2.13.1. 2002-10-11 19:38:04 +00:00
ldscript.amd64 Add two symbols start_ctors and stop_ctors to allow us to find the 2003-01-06 07:37:15 +00:00
ldscript.i386 Add two symbols start_ctors and stop_ctors to allow us to find the 2003-01-06 07:37:15 +00:00
ldscript.ia64 Back out rev 1.7 -- I'm not sure we're ready for it and I can't test it. 2002-12-05 18:35:44 +00:00
ldscript.powerpc Page align the data segment. 2001-10-08 10:43:34 +00:00
ldscript.sparc64 Add kernbase symbol and use it instead of magic numbers in the 2001-09-21 05:43:38 +00:00
majors - Add a major for SMAPI. 2003-01-17 08:01:35 +00:00
Makefile.alpha Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH. 2002-07-31 14:59:05 +00:00
Makefile.amd64 Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH. 2002-07-31 14:59:05 +00:00
Makefile.i386 Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH. 2002-07-31 14:59:05 +00:00
Makefile.ia64 Build the kernel with -mconstant-gp. This means that function calls, 2002-10-13 07:07:51 +00:00
Makefile.pc98 Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH. 2002-07-31 14:59:05 +00:00
Makefile.powerpc - remove dead conditional CFLAG setting 2003-01-22 01:34:10 +00:00
Makefile.sparc64 Moved most interrupt related code to a new file, interrupt.S. 2002-09-28 01:56:24 +00:00
makeLINT.sed Join the pissing contest: generate LINT with a single sed(1) command. 2002-05-02 16:34:47 +00:00
newvers.sh HEAD reverts to 5.0-CURRENT 2002-12-13 08:47:15 +00:00
NOTES Add config glue to add an optional GEOM_VOL to add optional volume support. 2003-02-03 17:35:54 +00:00
options Finally make vinum ready for the root filesystem in FreeBSD 5.x. (A 2003-02-05 21:02:56 +00:00
options.alpha Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, since 2002-11-18 06:17:07 +00:00
options.amd64 Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, since 2002-11-18 06:17:07 +00:00
options.i386 Add machdep.elan_freq sysctl which can be used to set the CPU clock 2003-01-15 20:15:33 +00:00
options.ia64 Add ITANIUM2 as a global option. 2002-11-24 19:50:15 +00:00
options.pc98 Remove unneeded entries. 2003-01-18 08:29:10 +00:00
options.powerpc Not all cpus are MPC750s. Replace the MPC750 cpu option with OEA. This 2003-02-05 11:37:59 +00:00
options.sparc64 Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, since 2002-11-18 06:17:07 +00:00
systags.sh $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00