From f22ba017a05b76c7d6527ba987fe81cdef085ced Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 1 Nov 1994 23:51:53 +0000 Subject: 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!) --- sbin/mount_portal/mount_portal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/mount_portal/mount_portal.c') diff --git a/sbin/mount_portal/mount_portal.c b/sbin/mount_portal/mount_portal.c index d88a38d..862027f 100644 --- a/sbin/mount_portal/mount_portal.c +++ b/sbin/mount_portal/mount_portal.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; -- cgit v1.1