Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 10:51:21 -0400
From:      "Rong-En Fan" <grafan@gmail.com>
To:        "Pawel Jakub Dawidek" <pjd@freebsd.org>
Cc:        geom@freebsd.org
Subject:   Re: v_vfs_done error = 1 on gconcat device
Message-ID:  <6eb82e0604290751t6e04d29fga195f73023599867@mail.gmail.com>
In-Reply-To: <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> <20060429144213.GH4896@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/29/06, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
> On Sat, Apr 29, 2006 at 10:27:42AM -0400, Rong-En Fan wrote:
> +> On 4/29/06, Pawel Jakub Dawidek <pjd@freebsd.org> 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



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