From owner-freebsd-geom@FreeBSD.ORG Sat Apr 29 14:43:54 2006 Return-Path: X-Original-To: geom@freebsd.org Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47B7016A445 for ; Sat, 29 Apr 2006 14:43:54 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3936243D5A for ; Sat, 29 Apr 2006 14:43:52 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AA24B52BC5; Sat, 29 Apr 2006 16:43:50 +0200 (CEST) Received: from localhost (dli137.neoplus.adsl.tpnet.pl [83.24.38.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 91CCF50BC1; Sat, 29 Apr 2006 16:43:44 +0200 (CEST) Date: Sat, 29 Apr 2006 16:42:13 +0200 From: Pawel Jakub Dawidek To: Rong-En Fan Message-ID: <20060429144213.GH4896@garage.freebsd.pl> References: <6eb82e0604281734v37c6eca0q8daa5dbca66f58d7@mail.gmail.com> <20060429071501.GA4896@garage.freebsd.pl> <6eb82e0604290153o388d8e53jff05cc04fe85ad3f@mail.gmail.com> <20060429120327.GE4896@garage.freebsd.pl> <6eb82e0604290727l5bbda2a1nb1d31798cce10cc1@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+Z7/5fzWRHDJ0o7Q" Content-Disposition: inline In-Reply-To: <6eb82e0604290727l5bbda2a1nb1d31798cce10cc1@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: geom@freebsd.org Subject: Re: v_vfs_done error = 1 on gconcat device X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 14:43:54 -0000 --+Z7/5fzWRHDJ0o7Q Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 29, 2006 at 10:27:42AM -0400, Rong-En Fan wrote: +> On 4/29/06, Pawel Jakub Dawidek wrote: +> >Yes, I'm afraid so. The BSD class just return EPERM when you try to +> >overwrite the metadata. +>=20 +> Thanks. By the way, I'm just wondering if we can have some meaningful +> error message, like "permission denied" instead of the magic "1"? No, error messages are available only in userland - you don't want to eventually translate those in kernel. Anyway, I somehow know to consult errno(2). Also, "permission denied" doesn't tell much more about the problem. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --+Z7/5fzWRHDJ0o7Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEU3tFForvXbEpPzQRAmWVAKDh6QFQNR87F4Mgkvg7VPb+WI6MAgCfSuQn fUkJ3/S3CH4x3JxPYfCNTlo= =Fm+Y -----END PGP SIGNATURE----- --+Z7/5fzWRHDJ0o7Q--