Device can mean more than one thing, physical device, partition, md device, 
logical volume, etc.

Label is more narrowly defined to that of filesystems.

MBR has no mechanism for labeling the disk itself or the partitions. So 
/dev/sda cannot have a label or a name. Whereas with GPT, there is a field for 
each partition to have a name, completely independent of the file system used. 
So if you really want physical devices given a name, the closest thing you have 
to that is GPT.


On Jan 3, 2013, at 12:08 PM, hul...@t-online.de (Helmut Hullen) wrote:

> Labelling via "btrfs filesystem label <device> <label>" works well.

It's a bug. I'm able to reproduce it as well. The command language itself 
indicates its the fs that's to be labeled. "device" in this case maps a /dev/X 
device to a fs UUID. It always should apply to the file system. If you want to 
name your partitions, use GPT.


Chris Murphy--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to