Date: Wed, 5 Sep 2001 04:07:20 -0700 (PDT) From: <semenu@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/30334: mount_nfs ignores acregmin, acregmax, axdirmin and acdirmax options Message-ID: <200109051107.f85B7Kp01795@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 30334 >Category: bin >Synopsis: mount_nfs ignores acregmin, acregmax, axdirmin and acdirmax options >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 05 04:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Semen A. Ustimenko >Release: FreeBSD 4.3-RELEASE i386 >Organization: >Environment: System: FreeBSD default.the.net 4.3-RELEASE FreeBSD 4.3-RELEASE #14: Mon Jul 30 20:31:05 GMT+6 2001 semen@default.the.net:/usr/src/sys/compile/DEFAULT i386 >Description: Setting any of ac(reg|dir)(min|max) options in mount_nfs command line wont take effect. This applies both to -current and -stable >How-To-Repeat: mount_nfs -o acregmin=0,acregmax=0,acdirmin=0,acdirmax=0 foo:/foodir /mnt Write simple test program that reads file upon pressing enter, and change the file on server between keypress. You will see stale data. Use tcpdump to see that no requests are sent, though they should be sent as attributes are always invalid. >Fix: Index: src/sbin/mount_nfs/mount_nfs.c =================================================================== RCS file: /home/ncvs/src/sbin/mount_nfs/mount_nfs.c,v retrieving revision 1.36.2.1 diff -u -r1.36.2.1 mount_nfs.c --- src/sbin/mount_nfs/mount_nfs.c 2000/06/11 05:21:36 1.36.2.1 +++ src/sbin/mount_nfs/mount_nfs.c 2001/09/05 11:01:44 @@ -231,6 +231,10 @@ F(RESVPORT); F(NQNFS); F(SOFT); + F(ACREGMIN); + F(ACREGMAX); + F(ACDIRMIN); + F(ACDIRMAX); #undef F #undef F2 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109051107.f85B7Kp01795>