Re: Accessing disks via their serial numbers.
- From: John Baldwin <jhb@xxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 10:36:07 -0400
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
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- Re: Accessing disks via their serial numbers.
- From: M. Warner Losh
- Re: Accessing disks via their serial numbers.
- From: Poul-Henning Kamp
- Re: Accessing disks via their serial numbers.
- From: Pawel Jakub Dawidek
- Re: Accessing disks via their serial numbers.
- Prev by Date: Re: SET, CLR, ISSET in types.h for _KERNEL builds
- Next by Date: Re: SET, CLR, ISSET in types.h for _KERNEL builds
- Previous by thread: Re: Accessing disks via their serial numbers.
- Next by thread: Re: Accessing disks via their serial numbers.
- Index(es):
Relevant Pages
|