On Mon, Feb 27, 2012 at 10:15:00PM +0100, Helmut Hullen wrote: > 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).
That feels really weird. It wouldn't ever occur to me to look at a mkfs tool to relabel a filesystem without destroying the data on it. I view this behaviour as a bug. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great oxymorons of the world, no. 6: Mature Student ---
signature.asc
Description: Digital signature