From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Hesse Subject: Re: btrfs device management Date: Mon, 9 Jun 2008 18:19:16 +0200 Message-ID: <200806091819.18985.mail@earthworm.de> References: <62325.68.145.107.21.1212882817.squirrel@avalon.arbitraryconstant.com> <1213019571.10187.12.camel@think.oraclecorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: "Miguel Sousa Filipe" , "Chris Mason" , "Christoph Hellwig" , btrfs-devel@arbitraryconstant.com, linux-btrfs@vger.kernel.org To: btrfs-devel@oss.oracle.com Return-path: In-Reply-To: List-ID: On Monday 09 June 2008, Miguel Sousa Filipe wrote: > On Mon, Jun 9, 2008 at 2:52 PM, Chris Mason 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