Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 11:52:50 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>, freebsd-arch@freebsd.org
Subject:   Re: Accessing disks via their serial numbers.
Message-ID:  <20060626095250.GB12511@garage.freebsd.pl>
In-Reply-To: <44838.1151311394@critter.freebsd.dk>
References:  <20060626080038.GA12511@garage.freebsd.pl> <44838.1151311394@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--eAbsdosE1cNLO4uF
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jun 26, 2006 at 08:43:14AM +0000, Poul-Henning Kamp wrote:
> In message <20060626080038.GA12511@garage.freebsd.pl>, Pawel Jakub Dawide=
k writ
> es:
>=20
> There is a not at all subtle difference between names which relate
> to the contents of the disk (as for g_label) or names which relate
> to a specific physical position (as for ATA_STATIC_ID) and what you
> propose where the name binds to a specific drive mechanism.
>=20
> The former two allows you to do offline copy/recovery and replacement
> of a disk drive, the latter does not.

That's right.

> >Glabel(8) currently supports labeling any GEOM provider, but it steals
> >the last sector, which is not always acceptable.
>=20
> When is it not acceptable ?

When last sector is already occupied.

> And is this the only reason why you think we need serial numbers for
> names ?

The main one. One of the reasons I implemented glabel(8) native labeling
was a lack of something like this.
I hope you don't want to see UFS labels recognition removed, because
there is a different labeling mechanism?

> >[...], but we need to have a general
> >mechanism inside the kernel for getting such informations.
>=20
> This is a very broad statement, and I don't agree (yet).

I hope we don't play "convince phk@" game here.
If it is not useful for you, doesn't mean it is useless in general.
Let's no forget about this.

And what are your arguments against such mechanism?

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--eAbsdosE1cNLO4uF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEn65yForvXbEpPzQRAhjPAKCmtbZPk2ushYPgcHLa3yZakMxqUwCgl3H3
5XRGH5aBE8XlLLtqOMREqIM=
=vHRM
-----END PGP SIGNATURE-----

--eAbsdosE1cNLO4uF--



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