svn commit: r220983 - head

Warner Losh imp at bsdimp.com
Mon Apr 25 15:36:52 UTC 2011


On Apr 25, 2011, at 12:52 AM, Daniel O'Connor wrote:

> 
> 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.
>> 
>> 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...
> 
> This is why I prefer IDs since they are nominally unique (UFS ones, GPTs damn well better be :)
> 
> 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



More information about the svn-src-head mailing list