diff options
author | wollman <wollman@FreeBSD.org> | 1994-11-01 23:51:53 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-11-01 23:51:53 +0000 |
commit | f22ba017a05b76c7d6527ba987fe81cdef085ced (patch) | |
tree | f614541c69f463075bbc04969273cb64b172d603 /sbin/mount_msdos/mount_msdos.c | |
parent | 4d89ead91e74e5a8e60f0f16733d9d8c15d82542 (diff) | |
download | FreeBSD-src-f22ba017a05b76c7d6527ba987fe81cdef085ced.zip FreeBSD-src-f22ba017a05b76c7d6527ba987fe81cdef085ced.tar.gz |
Add support for filesystem-specific `-o' options, and re-implement the
most common cd9660 and nfs options like God intended them. (It is now
possible to say
mount -o ro,soft,bg,intr there:/foo/bar /foo/bar
again.) This whole getmntopt() business is an incredible botch;
it never should have been anything more than a wrapper around
getsubopt(3). Because if the way the current hackaround is implemented,
options which take arguments (like the old `rsize' and `wsize') are still
unavailable, and must be accessed the new, broken way.
(It's unimaginable how Berkeley managed to screw up one of the few things
about NFS that Sun actually got right to begin with!)
Diffstat (limited to 'sbin/mount_msdos/mount_msdos.c')
-rw-r--r-- | sbin/mount_msdos/mount_msdos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_msdos/mount_msdos.c b/sbin/mount_msdos/mount_msdos.c index 9cac3ff..db652ae 100644 --- a/sbin/mount_msdos/mount_msdos.c +++ b/sbin/mount_msdos/mount_msdos.c @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: mount_msdos.c,v 1.1 1994/09/19 15:30:36 dfr Exp $"; +static char rcsid[] = "$Id: mount_msdos.c,v 1.2 1994/09/22 22:16:35 wollman Exp $"; #endif /* not lint */ #include <sys/cdefs.h> @@ -87,7 +87,7 @@ main(argc, argv) set_mask = 1; break; case 'o': - getmntopts(optarg, mopts, &mntflags); + getmntopts(optarg, mopts, &mntflags, 0); break; case '?': default: |