From owner-svn-src-head@FreeBSD.ORG Mon Apr 25 15:36:52 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D184A106566B; Mon, 25 Apr 2011 15:36:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 890A08FC15; Mon, 25 Apr 2011 15:36:52 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p3PFVUXW021321 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Mon, 25 Apr 2011 09:31:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <34A34338-79E0-435E-9BF1-614D10FC9FC7@gsoft.com.au> Date: Mon, 25 Apr 2011 09:31:31 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201104240923.p3O9N8QG025386@svn.freebsd.org> <20110424161933.GA18775@vniz.net> <18B3AE1E-467E-4B23-81B9-AB1EDEFE1F7A@gsoft.com.au> <34A34338-79E0-435E-9BF1-614D10FC9FC7@gsoft.com.au> To: "Daniel O'Connor" X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Mon, 25 Apr 2011 09:31:32 -0600 (MDT) Cc: svn-src-head@FreeBSD.org, Alexander Motin , src-committers@FreeBSD.org, Andrey Chernov , svn-src-all@FreeBSD.org Subject: Re: svn commit: r220983 - head X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 15:36:52 -0000 On Apr 25, 2011, at 12:52 AM, Daniel O'Connor wrote: >=20 > On 25/04/2011, at 6:55, Warner Losh wrote: >>> The best way is to change to use GPT IDs (/dev/gptid/xxx) if you are = on a GPT system) or UFS IDs (/dev/ufsid/xxx) if you can't. >>=20 >> I've been running with ufs labels for a couple of years now, since = the first rumblings of this hit the streets. They work great no matter = what the underlying partitioning scheme. The one drawback is that if = you have multiple disks with the same labels, then the first one wins. = Normally not a problem, but when you have it, you need to ensure the = right one is selected. I avoid this problem by prefixing a hostname to = the label... >=20 > This is why I prefer IDs since they are nominally unique (UFS ones, = GPTs damn well better be :) >=20 > Although I concede it is rather annoying to work out which is which, = or type them out manually.. For things like ZFS, UUIDs aren't so bad because it hides them. For things like /etc/fstab, I prefer the named approach. This allows me = to survive a newfs on a partition if I have to without having to hack my = /etc/fstab. I have a large /tmp partition at times, and it gets newfs'd = if there's a bad problem... Warner