diff options
author | Jamie Gritton <jamie@FreeBSD.org> | 2009-03-02 23:26:30 +0000 |
---|---|---|
committer | Jamie Gritton <jamie@FreeBSD.org> | 2009-03-02 23:26:30 +0000 |
commit | f86bce5ed03f2a4c30a04c29b51624e69c30d8c7 (patch) | |
tree | b070bef8a4d0b9e895916c453fb1a0a0f82434c0 /lib | |
parent | ac6bb60e0ab42d37f71502e6a0c85edebede5704 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=189290
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions