Subject: Re: bin/3998: Trying to mount a filesystem you don't have is cryptic
To: Elad Efrat <elad@NetBSD.org>
From: Christian Hattemer <email@example.com>
Date: 09/28/2006 22:07:28
On 28.09.06, Elad Efrat wrote:
> What other errors from mount(8) do you consider obscure?
Actually that applies to mount(2), sorry.
The general, non-fs-specific ERRORS section doesn't list the discussed
ENODEV, EINVAL and EOPNOTSUPP may also happen.
The list of MNT_* flags could also use a check whether some of the newer
flags, e.g. MNT_RELOAD, should be added.
On a different note, is it normal that some errnos, e.g. EINVAL, can be
produced at multiple contexts inside sys_mount()? This may make it unclear
where the problem that led to the abort was exactly.