Date: Mon, 25 Apr 2011 09:31:31 -0600 From: Warner Losh <imp@bsdimp.com> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: svn-src-head@FreeBSD.org, Alexander Motin <mav@FreeBSD.org>, src-committers@FreeBSD.org, Andrey Chernov <ache@FreeBSD.org>, svn-src-all@FreeBSD.org Subject: Re: svn commit: r220983 - head Message-ID: <E5C7935B-A333-4818-986C-4FD19DD73381@bsdimp.com> In-Reply-To: <34A34338-79E0-435E-9BF1-614D10FC9FC7@gsoft.com.au> References: <201104240923.p3O9N8QG025386@svn.freebsd.org> <20110424161933.GA18775@vniz.net> <18B3AE1E-467E-4B23-81B9-AB1EDEFE1F7A@gsoft.com.au> <E5C45DAC-6014-42E2-9E1C-BFB7D54EBCB4@bsdimp.com> <34A34338-79E0-435E-9BF1-614D10FC9FC7@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E5C7935B-A333-4818-986C-4FD19DD73381>