should mount -u fail or silently ignore options?

Doug Barton dougb at FreeBSD.org
Mon Jan 23 22:37:14 UTC 2012


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/



More information about the freebsd-fs mailing list