From owner-freebsd-fs@FreeBSD.ORG Wed Apr 27 06:59:45 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C71BE106566B for ; Wed, 27 Apr 2011 06:59:45 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7C45B8FC0C for ; Wed, 27 Apr 2011 06:59:45 +0000 (UTC) Received: by iyj12 with SMTP id 12so1587843iyj.13 for ; Tue, 26 Apr 2011 23:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=Atk6IH6trx2ADQw0FhCubaKSWwfqB9m/1nTduDgSxrk=; b=GZ0KzCYjIBQlaM6Wc4QUXBz+G6fC1OTkkTET6C92XRibalaZjinG80nW7HYNwFN56J BHPRdrUsNeuOGqB0iNV7yddZfXkx/j3Sk2MtfXIBomLHMN4ZNvmVFZ6JK1WGGhwRCZvo 5GMHqp300yTIWOjWQMbvp+xnXquZ/yVH/WxX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=d0/B3PkZ/P5bbAWTkgIr9ZKVz5keTTcfVr37+xfL80Ow8Sjz40JFMjY1rYMInUXPaX nbSfl3DDyAB2CtsGYWg+e6aG049zU/X3ykMF+DChOZAYrzAROCSkJCM9NqzAmr0uQPXa 2ti6sUsw+fd8y7S/tTE8DtSZjFA9Dp+qHo+ys= Received: by 10.43.68.204 with SMTP id xz12mr2175092icb.354.1303887584709; Tue, 26 Apr 2011 23:59:44 -0700 (PDT) Received: from DataIX.net (adsl-99-190-84-116.dsl.klmzmi.sbcglobal.net [99.190.84.116]) by mx.google.com with ESMTPS id d9sm221254ibb.36.2011.04.26.23.59.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2011 23:59:43 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p3R6xdN2093444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Apr 2011 02:59:40 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p3R6xdgd093443; Wed, 27 Apr 2011 02:59:39 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Wed, 27 Apr 2011 02:59:39 -0400 From: "Jason J. Hellenthal" To: Pan Tsu Message-ID: <20110427065939.GD88420@DataIX.net> References: <4DB70949.6090104@FreeBSD.org> <20110426182017.GA92471@freebsd.org> <4DB70F13.6060002@FreeBSD.org> <4DB759A1.4050201@FreeBSD.org> <20110427054218.GA88420@DataIX.net> <864o5kgplh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722" Content-Disposition: inline In-Reply-To: <864o5kgplh.fsf@gmail.com> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: freebsd-fs@freebsd.org Subject: Re: Why not just name the cam-ata devices the same as the old names? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 06:59:45 -0000 --3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 27, 2011 at 10:44:58AM +0400, Pan Tsu wrote: >"Jason J. Hellenthal" writes: > >> I do not know if this was summed up in a easy way by Jeremy's nice >> message below but in short a summary can be made here to clear that up. >> >> /dev/gptid/* /dev/gpt/* >> * These survive its raw partition being newfs'd >> * Are only created for disks that are partitioned >> and contain a GPT table as can be seen with gpart >> show >> * Operations on these or the raw partition will not remove them. > >Not sure if we have support for labels based on disk serial number >similar to /dev/serno/* from DragonFlyBSD but > >/dev/serno/* > * no extra step to setup, e.g. `gpart create' or `newfs' > * survive wiping entire disk, no metadata stored on-disk > * available on every ata disk > Not as far as I am aware. I have not seen anything similiar to that committed to the FreeBSD source within the last six months or before. >As CAM_ATA transition goes such labels could be a better choice as >they'd lessen the pain when compat naming is gone, e.g. in 10-CURRENT. > >> The best possible thing you could use here is a GPT scheme for the disks >> to remain consistent across newfs's. But relying on GPT for all disks >> will not always work in situations where the disk also involves a >> operating system that does not support booting off of a GPT disk, like >> all of Windows XP and then Win7 for non-Itanium based architectures. Yes >> Win7 last checked was said to only support booting GPT schemes on >> Itanium systems, so this leaves a lot of systems to only rely on >> /dev/ufs*/ labels or generic labels. --=20 Regards, (jhell) Jason Hellenthal --3Pql8miugIZX0722 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJNt77aAAoJEJBXh4mJ2FR+7ioH/jrgN/KBfkn3vhjd3trtL7Ty gsUZdRgUnQyVG1UNrjxJSY3Psh6FwJRY5mH53DMKl/hfgcJ1SB/bzxxLc9UrnAwr g2l5GUCAcLGVCCn2abURZ4OMs3scEBgwMbshLIUpPQ568t/A49yvGQNPVuFh4EJm oA4205C05+Kz5fDd1fECebLAvU3Mk29pOuj2tbNhZnc/0wtbSQiJqm1w4BTdkEA6 P7O9ld+Oo+osFSbu3N92qP24hUKpIEYUjcEfE5E+SCT+yrX95qLlFO/2nLX8AWl4 W7/E4nQhka8wjAyZZjdlVJpppOgG0R0axFOYrvCUGWV2KZWhMXB7OTkiFj/ox8Y= =128h -----END PGP SIGNATURE----- --3Pql8miugIZX0722--