Subject: Re: bin/3998: Trying to mount a filesystem you don't have is cryptic
To: Gavan Fantom <firstname.lastname@example.org>
From: Christian Hattemer <email@example.com>
Date: 09/26/2006 12:03:40
On 25.09.06, Gavan Fantom wrote:
> 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.
This is exactly the point.
EOPNOTSUPP doesn't look too bad and would also be directly visible.
If really all that can be done is a note in man, where should it go to be
easily found? Perhaps mount(8) because it's a general issue. options(4)
also seems to be a good place for a second hint.
Best solution would be to both use a more descriptive error message and
notes in the man...