aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mount_portalfs/mount_portalfs.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-11-01 23:51:53 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-11-01 23:51:53 +0000
commit3fa88dec7f907cbcfee54e5ebebc001a3279fe30 (patch)
treef614541c69f463075bbc04969273cb64b172d603 /usr.sbin/mount_portalfs/mount_portalfs.c
parentf23c6e08dfc2a3411b55e1b7a6a916bde7c5862d (diff)
downloadsrc-3fa88dec7f907cbcfee54e5ebebc001a3279fe30.tar.gz
src-3fa88dec7f907cbcfee54e5ebebc001a3279fe30.zip
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!)
Notes
Notes: svn path=/head/; revision=4065
Diffstat (limited to 'usr.sbin/mount_portalfs/mount_portalfs.c')
-rw-r--r--usr.sbin/mount_portalfs/mount_portalfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mount_portalfs/mount_portalfs.c b/usr.sbin/mount_portalfs/mount_portalfs.c
index d88a38dcefc1..862027fedf6b 100644
--- a/usr.sbin/mount_portalfs/mount_portalfs.c
+++ b/usr.sbin/mount_portalfs/mount_portalfs.c
@@ -109,7 +109,7 @@ main(argc, argv)
while ((ch = getopt(argc, argv, "o:")) != EOF) {
switch (ch) {
case 'o':
- getmntopts(optarg, mopts, &mntflags);
+ getmntopts(optarg, mopts, &mntflags, 0);
break;
default:
error = 1;