aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_msdosfs
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-06-01 10:57:26 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-06-01 10:57:26 +0000
commit4ccd7546866d13c42b6d7339d42671baf7c38ff9 (patch)
treea1076dc305af0dd9c6e90fbf67fe339de7b5d3af /sbin/mount_msdosfs
parent1a4a063934c0b57b0ba7a3f2cc4160817cb1caf2 (diff)
downloadsrc-4ccd7546866d13c42b6d7339d42671baf7c38ff9.tar.gz
src-4ccd7546866d13c42b6d7339d42671baf7c38ff9.zip
Notes
Diffstat (limited to 'sbin/mount_msdosfs')
-rw-r--r--sbin/mount_msdosfs/Makefile6
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.84
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c14
3 files changed, 12 insertions, 12 deletions
diff --git a/sbin/mount_msdosfs/Makefile b/sbin/mount_msdosfs/Makefile
index 49f63c55a69c..4a7c201d9467 100644
--- a/sbin/mount_msdosfs/Makefile
+++ b/sbin/mount_msdosfs/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
#
-PROG= mount_msdos
-SRCS= mount_msdos.c getmntopts.c
-MAN= mount_msdos.8
+PROG= mount_msdosfs
+SRCS= mount_msdosfs.c getmntopts.c
+MAN= mount_msdosfs.8
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/sbin/mount_msdosfs/mount_msdosfs.8 b/sbin/mount_msdosfs/mount_msdosfs.8
index 99cfa6867b36..f7dd1e20e2f4 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.8
+++ b/sbin/mount_msdosfs/mount_msdosfs.8
@@ -31,10 +31,10 @@
.\" $FreeBSD$
.\"
.Dd April 7, 1994
-.Dt MOUNT_MSDOS 8
+.Dt MOUNT_MSDOSFS 8
.Os
.Sh NAME
-.Nm mount_msdos
+.Nm mount_msdosfs
.Nd mount an MS-DOS file system
.Sh SYNOPSIS
.Nm
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index a758d3d4aff1..a74676be89cb 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -173,12 +173,12 @@ main(argc, argv)
args.mask = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);
}
- error = getvfsbyname("msdos", &vfc);
- if (error && vfsisloadable("msdos")) {
- if (vfsload("msdos"))
- err(EX_OSERR, "vfsload(msdos)");
+ error = getvfsbyname("msdosfs", &vfc);
+ if (error && vfsisloadable("msdosfs")) {
+ if (vfsload("msdosfs"))
+ err(EX_OSERR, "vfsload(msdosfs)");
endvfsent(); /* clear cache */
- error = getvfsbyname("msdos", &vfc);
+ error = getvfsbyname("msdosfs", &vfc);
}
if (error)
errx(EX_OSERR, "msdos filesystem is not available");
@@ -251,8 +251,8 @@ void
usage()
{
fprintf(stderr, "%s\n%s\n",
- "usage: mount_msdos [-o options] [-u user] [-g group] [-m mask]",
- " [-s] [-l] [-9] [-L locale] [-W table] bdev dir");
+ "usage: mount_msdosfs [-o options] [-u user] [-g group] [-m mask]",
+ " [-s] [-l] [-9] [-L locale] [-W table] bdev dir");
exit(EX_USAGE);
}