summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-06-01 10:57:26 +0000
committerru <ru@FreeBSD.org>2001-06-01 10:57:26 +0000
commit0c44ad95b85b9c481f5dfda70664f7bc7462a0ff (patch)
treef654414e6dbb65e34c23c3001f80be06cfddcb9f /sbin/mount
parente576be9a24c311d9bcc8babdedb7ee086cc6f92c (diff)
downloadFreeBSD-src-0c44ad95b85b9c481f5dfda70664f7bc7462a0ff.zip
FreeBSD-src-0c44ad95b85b9c481f5dfda70664f7bc7462a0ff.tar.gz
- VFS_SET(msdos) -> VFS_SET(msdosfs)
- msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.82
-rw-r--r--sbin/mount/mount.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index d371c20..88bb901 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -374,7 +374,7 @@ file system table
.Xr mount_fdescfs 8 ,
.Xr mount_hpfs 8 ,
.Xr mount_linprocfs 8 ,
-.Xr mount_msdos 8 ,
+.Xr mount_msdosfs 8 ,
.Xr mount_nfs 8 ,
.Xr mount_ntfs 8 ,
.Xr mount_nullfs 8 ,
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index eb9fdba..9648eaa 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -419,6 +419,10 @@ mountfs(vfstype, spec, name, flags, options, mntopts)
if (flags & MNT_UPDATE)
optbuf = catopt(optbuf, "update");
+ /* Compatibility glue. */
+ if (strcmp(vfstype, "msdos") == 0)
+ vfstype = "msdosfs";
+
argc = 0;
argv[argc++] = vfstype;
mangle(optbuf, &argc, argv);
OpenPOWER on IntegriCloud