All of lore.kernel.org
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 1/2] [Repost] btrfslabel - user space
Date: Mon, 4 Jan 2010 20:15:14 +0100	[thread overview]
Message-ID: <201001042015.14647.kreijack@libero.it> (raw)
In-Reply-To: <201001041959.21312.kreijack@libero.it>

On Monday 04 January 2010, Goffredo Baroncelli wrote:
> Hi all,
> 
> recently I needed to change a label of a btrfs filesystem. After a 
> bit of googling I discovered the Morey patches (dated august 2008). 
> 
> So I update the patches to the latest btrfs source. The patches 
> creates a new command called btrfslabel which is able to change the
>  label of a btrfs filesystem.
> 
> The command differentiates two cases:
> - the filesystem is mounted: the change is done by the kernel (see 
> the second patch), btrfslabel uses an ioctl to start the label changing.
> - the filesystem is unmounted: the change is performed in user space.

I forgot to mention that even if the kernel isn't patched, it is still 
possible to change a label of an unmounted btrfs filesystem.

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijackATinwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

      reply	other threads:[~2010-01-04 19:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 18:59 [PATCH 1/2] [Repost] btrfslabel - user space Goffredo Baroncelli
2010-01-04 19:15 ` Goffredo Baroncelli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201001042015.14647.kreijack@libero.it \
    --to=kreijack@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.