diff options
author | ru <ru@FreeBSD.org> | 2001-06-01 10:57:26 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-01 10:57:26 +0000 |
commit | 0c44ad95b85b9c481f5dfda70664f7bc7462a0ff (patch) | |
tree | f654414e6dbb65e34c23c3001f80be06cfddcb9f /sbin/mount_msdosfs | |
parent | e576be9a24c311d9bcc8babdedb7ee086cc6f92c (diff) | |
download | FreeBSD-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_msdosfs')
-rw-r--r-- | sbin/mount_msdosfs/Makefile | 6 | ||||
-rw-r--r-- | sbin/mount_msdosfs/mount_msdosfs.8 | 4 | ||||
-rw-r--r-- | sbin/mount_msdosfs/mount_msdosfs.c | 14 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sbin/mount_msdosfs/Makefile b/sbin/mount_msdosfs/Makefile index 49f63c5..4a7c201 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 99cfa68..f7dd1e2 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 a758d3d..a74676b 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); } |