freebsd-nq/sys
Poul-Henning Kamp 20a92a18f1 The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly
split the conversion of the remaining three filesystems out from the root
mounting changes, so in one go:

cd9660:
	Convert to nmount.
	Add omount compat shims.
	Remove dedicated rootfs mounting code.
	Use vfs_mountedfrom()
	Rely on vfs_mount.c calling VFS_STATFS()

nfs(client):
	Convert to nmount (the simple way, mount_nfs(8) is still necessary).
	Add omount compat shims.
	Drop COMPAT_PRELITE2 mount arg compatibility.

ffs:
	Convert to nmount.
	Add omount compat shims.
	Remove dedicated rootfs mounting code.
	Use vfs_mountedfrom()
	Rely on vfs_mount.c calling VFS_STATFS()

Remove vfs_omount() method, all filesystems are now converted.

Remove MNTK_WANTRDWR, handling RO/RW conversions is a filesystem
task, and they all do it now.

Change rootmounting to use DEVFS trampoline:

vfs_mount.c:
	Mount devfs on /.  Devfs needs no 'from' so this is clean.
	symlink /dev to /.  This makes it possible to lookup /dev/foo.
	Mount "real" root filesystem on /.
	Surgically move the devfs mountpoint from under the real root
	filesystem onto /dev in the real root filesystem.

Remove now unnecessary getdiskbyname().

kern_init.c:
	Don't do devfs mounting and rootvnode assignment here, it was
	already handled by vfs_mount.c.

Remove now unused bdevvp(), addaliasu() and addalias().  Put the
few necessary lines in devfs where they belong.  This eliminates the
second-last source of bogo vnodes, leaving only the lemming-syncer.

Remove rootdev variable, it doesn't give meaning in a global context and
was not trustworth anyway.  Correct information is provided by
statfs(/).
2004-12-07 08:15:41 +00:00
..
alpha Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
amd64 MFi386: rev 1.12: re-allow fast interrupts to cause preemption 2004-12-06 22:56:15 +00:00
arm Make sure to map the whole kernel into 1MB pages. Try to use the remaining 2004-12-05 22:48:04 +00:00
boot The 'start' command processes loader.conf variables, not loader.rc. 2004-12-06 05:30:31 +00:00
cam
coda Convert coda to nmount. 2004-12-06 19:46:02 +00:00
compat Do not blindly pass linux filesystem specific mount data across. 2004-12-03 18:14:22 +00:00
conf Update the Tigon 1 and 2 driver to use the sf_buf API for implementing 2004-12-06 00:43:40 +00:00
contrib IPv6 packets can contain headers (like options) before the TCP/UDP/ICMP6 2004-12-05 12:15:43 +00:00
crypto
ddb
dev PNP BIOS devices are fundamentally different than ISA PNP devices. 2004-12-07 05:30:02 +00:00
doc
fs The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
gdb Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
geom o Don't limit GPT as a rank 2 provider. Allow it to be connected 2004-12-05 06:02:21 +00:00
gnu Convert to nmount. Add omount compat code. 2004-12-06 20:34:32 +00:00
i4b
i386 PNP BIOS devices are fundamentally different than ISA PNP devices. 2004-12-07 05:30:02 +00:00
ia64 Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
isa PNP BIOS devices are fundamentally different than ISA PNP devices. 2004-12-07 05:30:02 +00:00
isofs/cd9660 The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
kern The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
libkern
modules kmod.mk knows how to create empty opt_*.h files so let it deal with the 2004-12-03 23:43:02 +00:00
net Implement the check I was talking about in the previous message already. 2004-11-30 22:38:37 +00:00
net80211
netatalk Correct a misspelling in a comment. 2004-12-05 13:28:52 +00:00
netatm
netgraph - Use ng_callout() instead of timeout(9). 2004-12-06 19:49:55 +00:00
netinet Time out routes created by redirect. 2004-12-06 22:27:22 +00:00
netinet6 Reviewed by: SUZUKI Shinsuke <suz@kame.net> 2004-11-29 03:10:35 +00:00
netipsec
netipx
netkey
netnatm
netncp
netsmb
nfs Add non-blocking versions of nfsm_dissect() and friends, for use from 2004-12-06 17:33:52 +00:00
nfs4client Rewrite of the NFS client's reply handling. We now have NFS socket 2004-12-06 21:11:15 +00:00
nfsclient The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
nfsserver
opencrypto
pc98 Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
pccard
pci Update the Tigon 1 and 2 driver to use the sf_buf API for implementing 2004-12-06 00:43:40 +00:00
posix4 Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
powerpc Create a new definition, PSL_KERNSET, which is used for setting the 2004-11-30 09:04:41 +00:00
rpc
security Switch from using an sx lock to a mutex for the mac_portacl rule chain: 2004-12-06 19:43:45 +00:00
sparc64 PNP BIOS devices are fundamentally different than ISA PNP devices. 2004-12-07 05:30:02 +00:00
sys The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
tools Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
ufs The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
vm Correct a sanity check in vnode_pager_generic_putpages(). The cast used 2004-12-05 21:48:11 +00:00
Makefile