summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/msdosfs')
-rw-r--r--sys/fs/msdosfs/msdosfs_vfsops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
index fcb136d..fdb1544 100644
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -81,7 +81,7 @@ static const char *msdosfs_opts[] = {
"from",
"export",
"uid", "gid", "mask", "dirmask",
- "shortname", "longname", "win95",
+ "shortname", "shortnames", "longname", "longnames", "win95",
"kiconv", "cs_win", "cs_dos", "cs_local",
NULL
};
@@ -163,8 +163,12 @@ update_mp(mp, td)
pmp->pm_dirmask = v & ALLPERMS;
vfs_flagopt(mp->mnt_optnew, "shortname",
&pmp->pm_flags, MSDOSFSMNT_SHORTNAME);
+ vfs_flagopt(mp->mnt_optnew, "shortnames",
+ &pmp->pm_flags, MSDOSFSMNT_SHORTNAME);
vfs_flagopt(mp->mnt_optnew, "longname",
&pmp->pm_flags, MSDOSFSMNT_LONGNAME);
+ vfs_flagopt(mp->mnt_optnew, "longnames",
+ &pmp->pm_flags, MSDOSFSMNT_LONGNAME);
vfs_flagopt(mp->mnt_optnew, "kiconv",
&pmp->pm_flags, MSDOSFSMNT_KICONV);
OpenPOWER on IntegriCloud