Hallo, Duncan, Du meintest am 27.02.12:
>>> I've said this several times: Your expectations are wrong. You >>> don't label partitions. >> Yes - now I know. >> But I'm afraid other people also expect wrong - when I use >> mkfs.ext[234] then this option works (in another way than with >> "mkfs.btrfs"). > AFAIK, it works in the same way... that is, it labels the, in that > case, ext2/3/4 filesystem, in this case (mkfs.btrfs), btrfs > filesystem. > From the manpages: > mkfs.btrfs (aka mkbtrfs): > -L, --label name > Specify a label for the filesystem. > mkfs.ext2/3/4 (aka mke2fs): > -L new-volume-label > Set the volume label for the filesystem to > new-volume-label. The maximum length of the > volume label is 16 bytes. But there's a small difference: mke2fs -L MyLabel /dev/sdn4 only sets/changes the label (ok - it tests the type of the partition and refuses labeling if the type doesn't fit). mkfs.btrfs -L MyLabel /dev/sdn4 not only sets/changes the label but also (re-)creates a btrfs filesystem, using the default parameters. I had to learn this difference ... Viele Gruesse! Helmut -- 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