1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/kern
Mike Smith 88d4183b84 Make MFS work with the new root filesystem search process.
In order to achieve this, root filesystem mount is moved from
SI_ORDER_FIRST to SI_ORDER_SECOND in the SI_SUB_MOUNT_ROOT sysinit
group.  Now, modules which wish to usurp the default root mount
can use SI_ORDER_FIRST.

A compiled-in or preloaded MFS filesystem will become the root
filesystem unless the vfs.root.mountfrom environment variable refers
to a valid bootable device.  This will normally only be the case when
the kernel and MFS image have been loaded from a disk which has a
valid /etc/fstab file.  In this case, the variable should be manually
overridden in the loader, or the kernel booted with -a.  In either
case "mfs:" should be supplied as the new value.

Also fix a typo in one DFLTROOT case that would not have compiled.
1999-11-03 11:02:47 +00:00
..
bus_if.m * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00
device_if.m $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
imgact_aout.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
imgact_elf.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
imgact_gzip.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
imgact_shell.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
inflate.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
init_main.c swapinit isn't called from vfs_mountroot, so don't complain about it in 1999-11-01 23:53:27 +00:00
init_sysent.c Now that userland, including modules don't use the osig* syscalls 1999-10-12 09:33:53 +00:00
kern_acct.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_clock.c #ifdef PPS_SYNC around "kapi" declaration to fix a -Wunused warning. 1999-10-10 16:18:36 +00:00
kern_conf.c A little step further in the dev_t cleanups: 1999-10-04 11:42:41 +00:00
kern_descrip.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_environment.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_exec.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
kern_exit.c Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
kern_fork.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_intr.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_jail.c Add a version number field to the jail(2) argument so that future changes 1999-09-19 08:36:03 +00:00
kern_kthread.c Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
kern_ktrace.c Fix style bug. 1999-10-04 18:29:51 +00:00
kern_linker.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_lock.c Fix process p_locks accounting. Conversions of the owner to LK_KERNPROC 1999-09-27 00:21:43 +00:00
kern_lockf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_malloc.c Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
kern_mib.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_module.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_ntptime.c pps_shiftmax only exists #ifdef PPS_SYNC 1999-08-30 16:21:32 +00:00
kern_physio.c Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the 1999-10-30 06:32:05 +00:00
kern_proc.c Remove a KASSERT() that has fulfilled its purpose. Note that it did 1999-10-24 08:37:21 +00:00
kern_prot.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_random.c Trim some unused #includes 1999-10-11 15:00:09 +00:00
kern_resource.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
kern_shutdown.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_sig.c Bail out of the process early if the coredumpfile limit is 0. 1999-10-30 18:55:11 +00:00
kern_subr.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
kern_switch.c Fix a typo and a bug. 1999-08-19 16:06:08 +00:00
kern_synch.c sigset_t change (part 2 of 5) 1999-09-29 15:03:48 +00:00
kern_syscalls.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_sysctl.c Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the 1999-10-30 06:32:05 +00:00
kern_tc.c #ifdef PPS_SYNC around "kapi" declaration to fix a -Wunused warning. 1999-10-10 16:18:36 +00:00
kern_threads.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_time.c Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the 1999-10-30 06:32:05 +00:00
kern_timeout.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
kern_xxx.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ksched.c 1. Add new defs for mins and maxs for the POSIX flavor priorities. They 1998-05-19 21:11:53 +00:00
link_aout.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
link_elf_obj.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
link_elf.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
Make.tags.inc Update to know about current kernel directory layout. 1999-02-28 22:14:16 +00:00
makedevops.pl $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Makefile Added ../sys/syscall.mk to targets. Back it up like all the other 1999-05-13 09:19:14 +00:00
makesyscalls.sh Add $FreeBSD$ tags to generated files otherwise the checker won't let them 1999-09-10 23:34:30 +00:00
md5c.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
p1003_1b.c Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
posix4_mib.c * Change sysctl from using linker_set to construct its tree using SLISTs. 1999-02-16 10:49:55 +00:00
subr_autoconf.c Removal of sys/device.h 1999-10-05 21:19:41 +00:00
subr_blist.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
subr_bus.c * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00
subr_clist.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_devstat.c Removed unnecessary splclock() protection for getmicrotime() and 1999-10-02 07:34:11 +00:00
subr_disk.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
subr_disklabel.c Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
subr_diskmbr.c Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
subr_diskslice.c Add missing 't' in printf message. 1999-09-25 14:43:40 +00:00
subr_dkbad.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_eventhandler.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_log.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
subr_module.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
subr_param.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_prf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_prof.c Unremove used includes. 1999-10-12 02:54:23 +00:00
subr_rman.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_scanf.c Consolidate some of the various ctype(3) macros in one location. 1999-11-02 22:50:34 +00:00
subr_smp.c Eliminate remaining part of incorrect PCI bus numbering sanity check on systems with more than one PCI bus. 1999-10-15 21:38:15 +00:00
subr_trap.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
subr_xxx.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
sys_generic.c Missed the second argument of fdrop(). 1999-10-14 10:50:06 +00:00
sys_pipe.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
sys_process.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
sys_socket.c This is what was "fdfix2.patch," a fix for fd sharing. It's pretty 1999-09-19 17:00:25 +00:00
syscalls.c Now that userland, including modules don't use the osig* syscalls 1999-10-12 09:33:53 +00:00
syscalls.master Now that userland including modules don't use the osig* syscalls, 1999-10-12 09:29:53 +00:00
sysv_ipc.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_msg.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_sem.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_shm.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
tty_compat.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_conf.c Now that Netgraph is in the system there are some cleanups we can do. 1999-10-23 04:28:11 +00:00
tty_cons.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
tty_pty.c sigset_t change (part 2 of 5) 1999-09-29 15:03:48 +00:00
tty_snoop.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
tty_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_tb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_tty.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
tty.c sigset_t change (part 2 of 5) 1999-09-29 15:03:48 +00:00
uipc_domain.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_mbuf.c New function: 1999-11-01 15:03:20 +00:00
uipc_proto.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
uipc_sockbuf.c Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total 1999-10-09 20:42:17 +00:00
uipc_socket2.c Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total 1999-10-09 20:42:17 +00:00
uipc_socket.c Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total 1999-10-09 20:42:17 +00:00
uipc_syscalls.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
uipc_usrreq.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
vfs_aio.c Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the 1999-10-30 06:32:05 +00:00
vfs_bio.c Remove a #define which doesn't do miracles anymore. 1999-10-30 09:31:52 +00:00
vfs_cache.c Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
vfs_cluster.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vfs_conf.c Make MFS work with the new root filesystem search process. 1999-11-03 11:02:47 +00:00
vfs_default.c Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
vfs_export.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vfs_extattr.c Most modern OSs have the ability to flag certain mounts as ones to 1999-11-01 04:57:43 +00:00
vfs_init.c Move a couple of globals here where they are initialised, rather than 1999-11-01 23:54:07 +00:00
vfs_lookup.c Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
vfs_mount.c Make MFS work with the new root filesystem search process. 1999-11-03 11:02:47 +00:00
vfs_subr.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vfs_syscalls.c Most modern OSs have the ability to flag certain mounts as ones to 1999-11-01 04:57:43 +00:00
vfs_vnops.c This is what was "fdfix2.patch," a fix for fd sharing. It's pretty 1999-09-19 17:00:25 +00:00
vnode_if.pl Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the 1999-09-26 18:31:51 +00:00
vnode_if.sh Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the 1999-09-26 18:31:51 +00:00
vnode_if.src Move the vop_islocked declaration to the top, in preparation for committing 1999-09-26 18:10:59 +00:00