[Patch] mount: check if mtab is writable
Steve Dickson
SteveD at redhat.com
Mon Jun 23 12:38:26 EDT 2008
Chuck Lever wrote:
> On Jun 23, 2008, at 9:40 AM, Steve Dickson wrote:
>> I believe this patch would hide the fact (by not logging an
>> error) that the mtab is not writeable plus mtab_is_writable()
>> already called in the REMOUNT path...
>>
>> So unless there is a compelling reason I'm missing to apply
>> this patch, I think we should take a pass on it...
>
> There are plenty of unremarkable cases where /etc/mtab will not be
> writable; for example, if /etc/mtab is replaced with a symlink to
> /proc/mounts. The tradition of mount (whether one agrees with it or
> not) is to be silent in cases like this.
hmm... is there any objection to break this tradition? I've never be a
fan on making the user guess as to what the problem is...
steved.
More information about the NFSv4
mailing list