From owner-freebsd-arch@FreeBSD.ORG Mon Jun 26 09:55:46 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 F2F8016A400 for ; Mon, 26 Jun 2006 09:55:46 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4983043D46 for ; Mon, 26 Jun 2006 09:55:41 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3E02F5138A; Mon, 26 Jun 2006 11:55:40 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id DB22951339; Mon, 26 Jun 2006 11:55:34 +0200 (CEST) Date: Mon, 26 Jun 2006 11:52:50 +0200 From: Pawel Jakub Dawidek To: Poul-Henning Kamp Message-ID: <20060626095250.GB12511@garage.freebsd.pl> References: <20060626080038.GA12511@garage.freebsd.pl> <44838.1151311394@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <44838.1151311394@critter.freebsd.dk> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: John-Mark Gurney , freebsd-arch@freebsd.org 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: Mon, 26 Jun 2006 09:55:47 -0000 --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--