All of lore.kernel.org
 help / color / mirror / Atom feed
* Set/change label
@ 2010-08-24  9:18 Felix Blanke
  2010-08-24 16:39 ` Goffredo Baroncelli
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Blanke @ 2010-08-24  9:18 UTC (permalink / raw)
  To: linux-btrfs

Hi,

is there any way to set/change the label after the filesystem has been created?


Best regards,
Felix

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Set/change label
  2010-08-24  9:18 Set/change label Felix Blanke
@ 2010-08-24 16:39 ` Goffredo Baroncelli
       [not found]   ` <20100824205023.GA3393@scooter>
  0 siblings, 1 reply; 4+ messages in thread
From: Goffredo Baroncelli @ 2010-08-24 16:39 UTC (permalink / raw)
  To: linux-btrfs

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) <kreijack@inwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Set/change label
       [not found]   ` <20100824205023.GA3393@scooter>
@ 2010-08-24 21:35     ` Goffredo Baroncelli
  2010-08-24 21:57       ` Felix Blanke
  0 siblings, 1 reply; 4+ messages in thread
From: Goffredo Baroncelli @ 2010-08-24 21:35 UTC (permalink / raw)
  To: Felix Blanke; +Cc: linux-btrfs

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 <kreijack@gmail.com>
> > 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) 
<kreijack@inwind.it>
> > 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) <kreijackATinwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Set/change label
  2010-08-24 21:35     ` Goffredo Baroncelli
@ 2010-08-24 21:57       ` Felix Blanke
  0 siblings, 0 replies; 4+ messages in thread
From: Felix Blanke @ 2010-08-24 21:57 UTC (permalink / raw)
  To: kreijack; +Cc: linux-btrfs

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 <kreijack@gmail.com>
> To: Felix Blanke <felixblanke@gmail.com>
> 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 <kreijack@gmail.com>
> > > 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) 
> <kreijack@inwind.it>
> > > 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) <kreijackATinwind.it>
> Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
---end quoted text---

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-24 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24  9:18 Set/change label Felix Blanke
2010-08-24 16:39 ` Goffredo Baroncelli
     [not found]   ` <20100824205023.GA3393@scooter>
2010-08-24 21:35     ` Goffredo Baroncelli
2010-08-24 21:57       ` Felix Blanke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.