diff options
author | jamie <jamie@FreeBSD.org> | 2009-03-02 23:26:30 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-03-02 23:26:30 +0000 |
commit | 63f98fcc6a46518f1e430026c32dd9c31dff0a84 (patch) | |
tree | b070bef8a4d0b9e895916c453fb1a0a0f82434c0 /lib/libc/db/recno | |
parent | 12e34d9850ea5157971c208839b4af421d679674 (diff) | |
download | FreeBSD-src-63f98fcc6a46518f1e430026c32dd9c31dff0a84.zip FreeBSD-src-63f98fcc6a46518f1e430026c32dd9c31dff0a84.tar.gz |
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)
Diffstat (limited to 'lib/libc/db/recno')
0 files changed, 0 insertions, 0 deletions