Jamie Gritton f86bce5ed0 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)
2009-03-02 23:26:30 +00:00
..
2008-04-29 08:16:05 +00:00
2008-03-07 17:02:34 +00:00
2009-01-03 10:37:38 +00:00
2009-02-22 13:38:16 +00:00
2009-01-08 21:29:40 +00:00
2008-04-29 22:43:15 +00:00
2009-01-27 00:22:16 +00:00
2008-03-25 15:44:49 +00:00
2008-01-12 21:07:03 +00:00
2008-02-15 23:56:33 +00:00
2008-11-05 15:07:42 +00:00
2008-12-15 06:10:57 +00:00
2008-12-15 07:51:59 +00:00
2007-11-26 15:21:21 +00:00
2008-02-26 20:11:37 +00:00
2008-02-26 20:25:01 +00:00
2008-12-12 01:08:28 +00:00
2008-02-26 20:13:08 +00:00
2008-02-26 20:13:08 +00:00
2008-02-26 20:13:08 +00:00