CVS commit: src/sbin/mount_nfs
Module Name:src Committed By: chs Date: Wed Dec 21 19:00:52 UTC 2022 Modified Files: src/sbin/mount_nfs: mount_nfs.c Log Message: mount_nfs: add missing "A" to getopt string To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sbin/mount_nfs/mount_nfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/mount_nfs/mount_nfs.c diff -u src/sbin/mount_nfs/mount_nfs.c:1.74 src/sbin/mount_nfs/mount_nfs.c:1.75 --- src/sbin/mount_nfs/mount_nfs.c:1.74 Sat Oct 3 18:42:20 2020 +++ src/sbin/mount_nfs/mount_nfs.c Wed Dec 21 19:00:52 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: mount_nfs.c,v 1.74 2020/10/03 18:42:20 christos Exp $ */ +/* $NetBSD: mount_nfs.c,v 1.75 2022/12/21 19:00:52 chs Exp $ */ /* * Copyright (c) 1992, 1993, 1994 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 19 #if 0 static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: mount_nfs.c,v 1.74 2020/10/03 18:42:20 christos Exp $"); +__RCSID("$NetBSD: mount_nfs.c,v 1.75 2022/12/21 19:00:52 chs Exp $"); #endif #endif /* not lint */ @@ -221,7 +221,7 @@ mount_nfs_parseargs(int argc, char *argv memset(nfsargsp, 0, sizeof(*nfsargsp)); *nfsargsp = nfsdefargs; while ((c = getopt(argc, argv, - "23a:bcCdD:g:I:iKL:lm:o:PpqR:r:sTt:w:x:UuX")) != -1) + "23Aa:bcCdD:g:I:iKL:lm:o:PpqR:r:sTt:w:x:UuX")) != -1) switch (c) { case '3': case 'q':
CVS commit: src/sbin/mount_nfs
Module Name:src Committed By: chs Date: Wed Dec 21 19:00:52 UTC 2022 Modified Files: src/sbin/mount_nfs: mount_nfs.c Log Message: mount_nfs: add missing "A" to getopt string To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sbin/mount_nfs/mount_nfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/sbin/mount_nfs
In article <3523.1486165...@andromeda.noi.kre.to>, Robert Elzwrote: >Date:Fri, 3 Feb 2017 16:56:01 -0500 >From:"Christos Zoulas" >Message-ID: <20170203215601.cb806f...@cvs.netbsd.org> > > | Modified Files: > |src/sbin/mount_nfs: getnfsargs.c > | > | Log Message: > | use the netid value because it could be udp6... > >Did you intend to keep ... > >+ printf("netid=%s\n", netid); No :-) christos
Re: CVS commit: src/sbin/mount_nfs
Robert Elzwrites: > Did you intend to keep ... > > + printf("netid=%s\n", netid); > > ? He probably didn't - but updating mount_nfs (and removing this line for tidiness) solves my NFS problem. It now works for all combinations of upd, tcp, ipv4, and ipv6. :) -tih -- Most people who graduate with CS degrees don't understand the significance of Lisp. Lisp is the most important idea in computer science. --Alan Kay
Re: CVS commit: src/sbin/mount_nfs
Date:Fri, 3 Feb 2017 16:56:01 -0500 From:"Christos Zoulas"Message-ID: <20170203215601.cb806f...@cvs.netbsd.org> | Modified Files: | src/sbin/mount_nfs: getnfsargs.c | | Log Message: | use the netid value because it could be udp6... Did you intend to keep ... + printf("netid=%s\n", netid); ? kre