On 02/09/2011 12:05 PM, Elaine C. Sharpe wrote:
I'm a little confused about use of the term "disk labels" in this discussion. Isn't a disk label a fs level ID (I create those when I make my fs)? Using UUID in fstab for quite awhile here (due to multiple external drives), but those aren't disk labels... are they?
Correct, they are two different (but equivalent) ways of naming a filesystem (partition) for use in fstab. mkfs generates a UUID automatically when the fs is created, but it does *not* generate a "label" unless you give it one using the -L flag, or create one later using e2fslabel or some other utility. The syntax in fstab is either UUID=<foo> or LABEL=<bar>, but the idea is exactly the same. The whole point is to divorce the fs from the /dev/xxxx it happens to reside on at boot time.