Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 1998 23:11:13 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        dwmalone@maths.tcd.ie, freebsd-bugs@hub.FreeBSD.ORG
Subject:   Re: bin/6124: Getting md5 to reset access times. 
Message-ID:  <199803271511.XAA14076@spinner.netplex.com.au>
In-Reply-To: Your message of "Fri, 27 Mar 1998 21:55:35 %2B1100." <199803271055.VAA16967@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> >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.
> 
> It has to start from a clean set, at least optionally, because it has
> no syntax to turn off options.  It should probably support +- options
> something like chmod.

I wonder if the 'no' prefix could be used without too much drama?
ie:  mount -u -o noasync /home  vs.  mount -u -o async /home.
Of course, the problem is when the option has a built-in 'no' prefix 
already..  nonoatime anyone? :-)  (not that this is hard to work around, 
just it's a potential source of mistakes..)

We already kinda do something like this for fs names.. ie: nfs vs. nonfs 
etc.

> Bruce

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting



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?199803271511.XAA14076>