Subject: Re: bin/3998: Trying to mount a filesystem you don't have is cryptic
To: Jonathan A. Kollasch <jakllsch@kollasch.net>
From: Gavan Fantom <gavan@coolfactor.org>
List: current-users
Date: 09/25/2006 19:17:42
Jonathan A. Kollasch wrote:
> On Mon, Sep 25, 2006 at 12:33:59PM +0200, Christian Hattemer wrote:
>> Hi,
>>
>> I'd like to vote for re-opening this PR and doing a proper fix, if at all
>> possible.
>>
>> "This has been standard behavior for 9 years now" doesn't count as a valid
>> reason. If it has been long pratice that doesn't mean that it has been a
>> good thing.
>>
>> I also stumbled over this issue recently and was puzzled what it should mean
>> and how to fix it. I got the right idea rather quickly, but probably not
>> everyone is that ingenious. :-)
> 
> From the selection available in errno(2), #45 EOPNOTSUPP, is perhaps the
> most logical choice.  Anyway, someone knowledgeable enough to disable
> NFS should be able to realize that they disabled it.

This doesn't apply only to NFS, but to any filesystem which is not
compiled in.

If a more appropriate error message is difficult, then it should at
least be documented in the manpage as a possible failure.

-- 
Gillette - the best a man can forget