From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Blanke Subject: Re: Set/change label Date: Tue, 24 Aug 2010 23:57:57 +0200 Message-ID: <20100824215757.GB3393@scooter> References: <20100824091841.GC24929@scooter> <201008241839.38446.kreijack@libero.it> <20100824205023.GA3393@scooter> <201008242335.23429.kreijack@libero.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-btrfs@vger.kernel.org To: kreijack@libero.it Return-path: In-Reply-To: <201008242335.23429.kreijack@libero.it> List-ID: Hi, ah ok :) I thought there is a way without the patch to change the label of unmounted fs. I am interested! If it is not to mutch work for you it would be great to have that feature. It's kind of strange that it is not possible to do that with the default btrfs utilities, because it's such an elementary thing. Thanks again for your help! Regards, Felix On 24. August 2010 - 23:35, Goffredo Baroncelli wrote: > Date: Tue, 24 Aug 2010 23:35:23 +0200 > From: Goffredo Baroncelli > To: Felix Blanke > Cc: linux-btrfs@vger.kernel.org > Subject: Re: Set/change label > > On Tuesday, 24 August, 2010, you (Felix Blanke) wrote: > > Hi, > > > > thanks for your reply. > > > > You mentioned that it should be possible to change the label of an > unmounted > > filesystem, but you didn't mentioned how. :( I can't find a command that > does that. > > > True, I have to admit that my reply was not very clear. > The patches of which I posted the link, contains the command btrfslabel which > is able to change a label. > Unfortunately the patches were never accepted. > > If you are interested I can update and repost the patches. > > Regards > G.Baroncelli > > > > > Regards, > > Felix > > > > On 24. August 2010 - 18:39, Goffredo Baroncelli wrote: > > > Date: Tue, 24 Aug 2010 18:39:38 +0200 > > > From: Goffredo Baroncelli > > > To: linux-btrfs@vger.kernel.org > > > Subject: Re: Set/change label > > > > > > On Tuesday, 24 August, 2010, Felix Blanke wrote: > > > > Hi, > > > > > > > > is there any way to set/change the label after the filesystem has been > > > created? > > > > > > There was a patch to do that. But AFAICT this patch was never merged. > > > If you are interested look at > > > > > > [Repost] btrfslabel - kernel space > > > > > > https://kerneltrap.org/mailarchive/linux-btrfs/2010/1/4/6683133/thread > > > > > > IIRC the user space utility, in case of a *unmounted* filesystem, is able > to > > > change a LABEL without patching the kernel. > > > > > > Goffredo > > > > > > > > > > > > > > > Best regards, > > > > Felix > > > > -- > > > > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" > in > > > > the body of a message to majordomo@vger.kernel.org > > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > > > > > > > > > -- > > > gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) > > > > Key fingerprint = 4769 7E51 5293 D36C 814E C054 BF04 F161 3DC5 0512 > > > -- > > > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > > > the body of a message to majordomo@vger.kernel.org > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > ---end quoted text--- > > > > > -- > gpg key@ keyserver.linux.it: Goffredo Baroncelli(ghigo) > Key fingerprint = 4769 7E51 5293 D36C 814E C054 BF04 F161 3DC5 0512 ---end quoted text---