Date: Mon, 2 Mar 2009 23:26:30 +0000 (UTC) From: Jamie Gritton <jamie@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man9 Makefile vfs_getopt.9 src/sys/cddl/compat/opensolaris/kern opensolaris_vfs.c src/sys/compat/freebsd32 freebsd32_misc.c src/sys/kern vfs_mount.c src/sys/sys mount.h Message-ID: <200903031731.n23HVEGx094615@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jamie 2009-03-02 23:26:30 UTC FreeBSD src repository Modified files: share/man/man9 Makefile vfs_getopt.9 sys/cddl/compat/opensolaris/kern opensolaris_vfs.c sys/compat/freebsd32 freebsd32_misc.c sys/kern vfs_mount.c sys/sys mount.h Log: SVN rev 189290 on 2009-03-02 23:26:30Z by jamie Extend the "vfsopt" mount options for more general use. Make struct vfsopt and the vfs_buildopts function public, and add some new fields to struct vfsopt (pos and seen), and new functions vfs_getopt_pos and vfs_opterror. Further extend the interface to allow reading options from the kernel in addition to sending them to the kernel, with vfs_setopt and related functions. While this allows the "name=value" option interface to be used for more than just FS mounts (planned use is for jails), it retains the current "vfsopt" name and <sys/mount.h> requirement. Approved by: bz (mentor) Revision Changes Path 1.347 +4 -1 src/share/man/man9/Makefile 1.3 +53 -6 src/share/man/man9/vfs_getopt.9 1.14 +3 -22 src/sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c 1.87 +2 -9 src/sys/compat/freebsd32/freebsd32_misc.c 1.300 +121 -48 src/sys/kern/vfs_mount.c 1.242 +19 -4 src/sys/sys/mount.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903031731.n23HVEGx094615>