aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2006-06-01 02:25:00 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2006-06-01 02:25:00 +0000
commit829b898c7c7cb4a3ada1df414357a18548550659 (patch)
treef0d42e1a04e4b5102490929afe44c9f5d09cc9b9 /sys
parentd49e4d3f55473274277c9f82535484d209471543 (diff)
downloadsrc-829b898c7c7cb4a3ada1df414357a18548550659.tar.gz
src-829b898c7c7cb4a3ada1df414357a18548550659.zip
mount_msdosfs.c:
- remove call to getmntopts(), and just pass -o options to nmount(). This removes some confusion as to what options msdosfs can parse, by pushing the responsibility of option parsing to the VFS and FS specific code in the kernel. msdosfs_vfsops.c: - add "force" and "sync" to msdosfs_opts. They used to be specified in mount_msdosfs.c, so move them here. It's not clear whethere these options should be placed into global_opts in vfs_mount.c or not. Motivated by: marcus
Notes
Notes: svn path=/head/; revision=159128
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/msdosfs/msdosfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
index a07b56787f37..c9efa9005620 100644
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -79,7 +79,7 @@
/* List of mount options we support */
static const char *msdosfs_opts[] = {
"from",
- "export",
+ "export", "force", "sync",
"uid", "gid", "mask", "dirmask",
"shortname", "shortnames", "longname", "longnames", "nowin95", "win95",
"kiconv", "cs_win", "cs_dos", "cs_local",