Re: Option LABEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo, Chris,

Du meintest am 03.01.13:

> 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.


Sure?

   btrfs filesystem label /dev/sdb mylabel

works, and then

   btrfs filesystem label /dev/sdb

shows "mylabel".
Also:

        findfs LABEL=mylabel

shows "/dev/sdb"

        blkid /dev/sdb

shows (among other data) "LABEL=mylabel"

Except for the "btrfs" command: same behaviour as with other  
filesystems. Especially with CDs and DVDs (which normally don't use  
partitions).

Viele Gruesse!
Helmut
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux