From owner-freebsd-current@FreeBSD.ORG Mon Jan 3 16:56:37 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 163AB106564A for ; Mon, 3 Jan 2011 16:56:37 +0000 (UTC) (envelope-from etnapierala@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F1CB8FC17 for ; Mon, 3 Jan 2011 16:56:36 +0000 (UTC) Received: by bwz12 with SMTP id 12so6476129bwz.13 for ; Mon, 03 Jan 2011 08:56:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=CZyzOtjuUrJq1hILFaxj4wmZ59ITQQHpGe+1+ihlWvk=; b=Z0nJ4e6WsV1kvRdH8YGO1sIVbXRKvtV+l86W7VmoaoKRqOfiozkppuoigLSMI/2DkQ tLlVi6t8E1l0i4qymODtLraGinnqe/44Ga5xW8ecxKqpAmVvDzxb1VTau+hxkJ2Btd01 55zbl6gVl/sKQAYyXTosIMUHx0tcntxqq6gHI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=RgOPVchgatxvp7l4ohakKfBETtIXS4fDqaqCkuWZY+ufbhyr2mCb4e1BEvPXutIXd7 aCGQq1GzyQIr7RlP+m+bKVR1lLV37oMqw8LvC/bcTIk+G70bG6ycPYBuO/L+XSWt+2MN If46XBzH9YbRfExmJ0gYBgAD2KNAODls6N6OM= Received: by 10.204.60.195 with SMTP id q3mr2928435bkh.188.1294072398847; Mon, 03 Jan 2011 08:33:18 -0800 (PST) Received: from [192.168.2.4] (gate19.robnet.pl [194.105.132.219]) by mx.google.com with ESMTPS id x38sm10292075bkj.13.2011.01.03.08.33.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 Jan 2011 08:33:17 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=iso-8859-2 From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <20110103141830.GC3140@deviant.kiev.zoral.com.ua> Date: Mon, 3 Jan 2011 17:33:13 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <47B52F19-AB6B-4116-9F5E-219B26519115@FreeBSD.org> References: <4D1B0E41.40405@gmail.com> <4D21CC35.5060803@gmx.de> <20110103141830.GC3140@deviant.kiev.zoral.com.ua> To: Kostik Belousov X-Mailer: Apple Mail (2.1082) Cc: Matthias Andree , freebsd-current@freebsd.org Subject: Re: No human readable message with g_vfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2011 16:56:37 -0000 Wiadomo=B6=E6 napisana przez Kostik Belousov w dniu 2011-01-03, o godz. = 15:18: > 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=3D232718991360, = length=3D131072)]error >>>> =3D 5 >>>>=20 >>>> I think for a lambda user these are absolutely not understandable. = I >>>=20 >>> Would a better message be "WRITE error on da0, offset=3D34590720. >>> length=3D65536, errno=3D5"? >>=20 >> 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. I had code that adds strerror() to the kernel in one of my old p4 = branches. Error messages like the one above look much better this way, but I = didn't have time to push it into the tree, and there is a risk of yet another = i18n discussion. If someone is interested - let me know; I'll try to find = it. -- If you cut off my head, what would I say? Me and my head, or me and my = body?