Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2011 16:18:30 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Matthias Andree <matthias.andree@gmx.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: No human readable message with g_vfs
Message-ID:  <20110103141830.GC3140@deviant.kiev.zoral.com.ua>
In-Reply-To: <4D21CC35.5060803@gmx.de>
References:  <4D1B0E41.40405@gmail.com> <ifsi3f$5ub$1@dough.gmane.org> <4D21CC35.5060803@gmx.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Jan 03, 2011 at 02:16:37PM +0100, Matthias Andree wrote:
> Am 03.01.2011 14:14, schrieb Ivan Voras:
> > On 12/29/10 11:32, David Demelier wrote:
> >> /var/log/messages.5.bz2:Nov 29 16:36:52 Abricot kernel:
> >> g_vfs_done():ufs/public[READ(offset=232718991360, length=131072)]error
> >> = 5
> >>
> >> I think for a lambda user these are absolutely not understandable. I
> > 
> > Would a better message be "WRITE error on da0, offset=34590720.
> > length=65536, errno=5"?
> 
> nah, strerror(errno) isn't that much of an effort
In kernel ? There is no strerror, and there is no great need to import the
sys_errlist.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk0h2rUACgkQC3+MBN1Mb4gWaQCg9cqqoZpu742uty4LiJial7T2
g1IAn2kWeUollTDDb7d7xZDyUv7hWGjg
=Hn1z
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110103141830.GC3140>