freebsd-dev/sys/fs/cd9660
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
..
cd9660_bmap.c Make VOP_BMAP return a struct bufobj for the underlying storage device 2004-11-15 09:18:27 +00:00
cd9660_iconv.c - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
cd9660_lookup.c Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
cd9660_mount.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
cd9660_node.c Move CD9660 to GEOM backing instead of DEVFS. 2004-10-29 10:41:44 +00:00
cd9660_node.h Move CD9660 to GEOM backing instead of DEVFS. 2004-10-29 10:41:44 +00:00
cd9660_rrip.c Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
cd9660_rrip.h Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
cd9660_util.c Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
cd9660_vfsops.c The remaining part of nmount/omount/rootfs mount changes. I cannot sensibly 2004-12-07 08:15:41 +00:00
cd9660_vnops.c Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
iso_rrip.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
iso.h Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
TODO
TODO.hibler