summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount.c
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/mount.c
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/mount.c')
-rw-r--r--sbin/mount/mount.c4
1 files changed, 4 insertions, 0 deletions
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