Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2012 14:37:12 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: should mount -u fail or silently ignore options?
Message-ID:  <4F1DE118.80201@FreeBSD.org>
In-Reply-To: <700804423.708964.1327280006066.JavaMail.root@erie.cs.uoguelph.ca>
References:  <700804423.708964.1327280006066.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/22/2012 16:53, Rick Macklem wrote:
> However, my question is...
> - Should the "mount -u" fail and return an error
> OR
>   Silently ignore the "udp" option and return ok.
> 
> I ask because the NFS clients currently silently
> clear flags like NFSMNT_NFSV3 and NFSMNT_NOLOCKD
> because they can't be changed and then nfs_mount()
> returns 0, assuming any other options work.

My preference would be that no command silently do something other than
what was asked for. Otherwise the operator may be relying on certain
behavior that was requested, but not fulfilled.


Doug

-- 

	It's always a long day; 86400 doesn't fit into a short.

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1DE118.80201>