From owner-freebsd-arch@FreeBSD.ORG Wed Jun 28 15:41:26 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0872016A408; Wed, 28 Jun 2006 15:41:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD9D443D58; Wed, 28 Jun 2006 15:41:24 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k5SFfFLL026519; Wed, 28 Jun 2006 11:41:22 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-arch@freebsd.org Date: Wed, 28 Jun 2006 10:36:07 -0400 User-Agent: KMail/1.9.1 References: <20060627.120424.-1625880159.imp@bsdimp.com> <62426.1151433799@critter.freebsd.dk> <20060627201148.GC24054@garage.freebsd.pl> In-Reply-To: <20060627201148.GC24054@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606281036.08090.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 28 Jun 2006 11:41:22 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1571/Wed Jun 28 08:16:22 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Poul-Henning Kamp , Pawel Jakub Dawidek , gurney_j@resnet.uoregon.edu Subject: Re: Accessing disks via their serial numbers. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 15:41:26 -0000 On Tuesday 27 June 2006 16:11, Pawel Jakub Dawidek wrote: > On Tue, Jun 27, 2006 at 06:43:19PM +0000, Poul-Henning Kamp wrote: > > And please remember: This entire thing only comes up because > > Pawel doesn't want to solve the problem correctly for g_label, > > this is the fall-back "quick&dirty" solution. > > If you are talking about restricting labels names here, I had the code, > but it was backed out. Please see the archives. I still doesn't like it. > > > The correct solution is to give the users a reliable tool for > > stealing the necessary labelsector from the end of a filesystem. > > I wrote this twice already in this thread, but let me write it again. > File systems are not the whole world. For example. I've a disk ad0. > I configured gbde(4) on top of it. I create file system on top of > ad0.bde. Now, let's assume I implemented shrinkfs(8) as you suggested, > how can I shrink gbde(4) provider? If you want a label you should label it before gbde(4). This is similar to the fact that you can't retroactively add a gmirror under the gbde slice either. -- John Baldwin