[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: bin/3998: Trying to mount a filesystem you don't have is cryptic
From:       Manuel Bouyer <bouyer () antioche ! eu ! org>
Date:       2006-09-29 19:54:23
Message-ID: 20060929195423.GA7661 () antioche ! eu ! org
[Download RAW message or body]

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
--
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic