Date: Wed, 28 Jun 2006 10:36:07 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-arch@freebsd.org Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Pawel Jakub Dawidek <pjd@freebsd.org>, gurney_j@resnet.uoregon.edu Subject: Re: Accessing disks via their serial numbers. Message-ID: <200606281036.08090.jhb@freebsd.org> In-Reply-To: <20060627201148.GC24054@garage.freebsd.pl> References: <20060627.120424.-1625880159.imp@bsdimp.com> <62426.1151433799@critter.freebsd.dk> <20060627201148.GC24054@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606281036.08090.jhb>