From owner-freebsd-geom@FreeBSD.ORG Sat Apr 29 14:51:23 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 6D78016A405 for ; Sat, 29 Apr 2006 14:51:23 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E80743D46 for ; Sat, 29 Apr 2006 14:51:21 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by nz-out-0102.google.com with SMTP id i28so2122740nzi for ; Sat, 29 Apr 2006 07:51:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HBpw38v1zxm4vs+sZvWLgKMSVH4Bf/PJkp2NX4krAUayEpjcIYI6V+6xP+1CYTQxSC7HwlxFzxrIPOK6yddng3WcKrehAAnD12nqf51PS7Bkq9qtr5Pr7giLlRItrrIQOOet8fzRIXcXb9fFFmsyrU1+txxGZuG4isTMqBE9qLg= Received: by 10.37.20.33 with SMTP id x33mr6614367nzi; Sat, 29 Apr 2006 07:51:21 -0700 (PDT) Received: by 10.36.24.17 with HTTP; Sat, 29 Apr 2006 07:51:21 -0700 (PDT) Message-ID: <6eb82e0604290751t6e04d29fga195f73023599867@mail.gmail.com> Date: Sat, 29 Apr 2006 10:51:21 -0400 From: "Rong-En Fan" To: "Pawel Jakub Dawidek" In-Reply-To: <20060429144213.GH4896@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6eb82e0604281734v37c6eca0q8daa5dbca66f58d7@mail.gmail.com> <20060429071501.GA4896@garage.freebsd.pl> <6eb82e0604290153o388d8e53jff05cc04fe85ad3f@mail.gmail.com> <20060429120327.GE4896@garage.freebsd.pl> <6eb82e0604290727l5bbda2a1nb1d31798cce10cc1@mail.gmail.com> <20060429144213.GH4896@garage.freebsd.pl> 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:51:23 -0000 On 4/29/06, Pawel Jakub Dawidek wrote: > 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. > +> > +> 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. Thanks for the explanation :) Rong-En Fan