From owner-freebsd-bugs Fri Mar 27 02:33:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA02515 for freebsd-bugs-outgoing; Fri, 27 Mar 1998 02:33:59 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from salmon.maths.tcd.ie (mmdf@salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA02468 for ; Fri, 27 Mar 1998 02:33:51 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from graves.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 27 Mar 98 10:33:50 +0000 (GMT) To: Bruce Evans cc: freebsd-bugs@hub.freebsd.org Subject: Re: bin/6124: Getting md5 to reset access times. In-reply-to: Your message of "Fri, 27 Mar 1998 11:01:42 +1100." <199803270001.LAA22745@godzilla.zeta.org.au> Date: Fri, 27 Mar 1998 10:33:49 +0000 From: David Malone Message-ID: <9803271033.aa20788@salmon.maths.tcd.ie> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Actually, now that I read the man page for mount, it looks like that mount -u should do what I want, but doesn't seem to. It starts from a clean set of oprions every time, instead of those listed in fstab (as claimed by the man page). Infact there is a comment in mount.c that says we ignore the fstab options if it is an update. David. 10:22:graves 1# mount | fgrep /FreeBSD /dev/sd0s1h on /FreeBSD (NFS exported, local, nodev, nosuid) 10:22:graves 2# mount -u -o async /FreeBSD 10:22:graves 3# mount | fgrep /FreeBSD /dev/sd0s1h on /FreeBSD (asynchronous, NFS exported, local) 10:22:graves 4# mount -u /FreeBSD 10:23:graves 5# mount | fgrep /FreeBSD /dev/sd0s1h on /FreeBSD (NFS exported, local) 10:23:graves 6# mount -u -o nodev,nosuid /FreeBSD 10:23:graves 7# mount | fgrep /FreeBSD /dev/sd0s1h on /FreeBSD (NFS exported, local, nodev, nosuid) 10:23:graves 7# fgrep /FreeBSD /etc/fstab /dev/sd0s1h /FreeBSD ufs rw,nosuid,nodev 1 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message