[Btrfs-devel] btrfs device management

Christian Hesse mail at earthworm.de
Mon Jun 9 09:19:16 PDT 2008


On Monday 09 June 2008, Miguel Sousa Filipe wrote:
> On Mon, Jun 9, 2008 at 2:52 PM, Chris Mason <chris.mason at oracle.com> wrote:
> > mkfs.btrfs already has a way to set the label of the filesystem.
> > mkfs.btrfs -L label /dev/xxxx
> >
> > btrfs-show will show you the labels of any existing filesystems.
>
> Can I mount by label ?
> something like:
> # mount /dev/btrfs/label /mountpoint

Yes, by mounting /dev/disk/by-label/label. That should work with every block 
device.
-- 
Regards,
Chris



More information about the Btrfs-devel mailing list