Subject: Re: bin/3998: Trying to mount a filesystem you don't have is cryptic
To: Greg Troxel <gdt@ir.bbn.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 09/29/2006 21:54:23
On Fri, Sep 29, 2006 at 03:29:10PM -0400, Greg Troxel wrote:
>
> The msdos code is very bad at that - and can fail in many ways.
> Maybe the kernel code could report the actual error to the console.
> (at least for some of the 'usual' errors).
>
> But, printf to the kernel is about what device? We really want to
> have richer errors than just errno. That said, I think a kernel
> printf for something that's rare is more helpful than harmful.
Why not use uprintf() ? Maybe with a sysctl to control it ...
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--