All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
To: linux-btrfs@vger.kernel.org
Cc: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Subject: [PATCH] Btrfs-progs: add UUID switches to mkfs and convert
Date: Sun,  6 Jan 2013 16:32:10 +0100	[thread overview]
Message-ID: <1357486331-4615-1-git-send-email-falbrechtskirchinger@gmail.com> (raw)

Hi,

this patch adds UUID switches to mkfs.btrfs and btrfs-convert to specify a UUID during filesystem creation or conversion.
The mkfs.btrfs ones are self-explanatory. btrfs-convert gets two additional convenience variants: -U new and -U copy. The former generates a random UUID which is the default behavior, the latter copies the UUID from the ext2fs to be converted.

Cheers,
Flo

Florian Albrechtskirchinger (1):
  Btrfs-progs: add UUID switches to mkfs and convert

 convert.c           | 48 ++++++++++++++++++++++++++++++++++++++++--------
 man/mkfs.btrfs.8.in |  4 ++++
 mkfs.c              | 20 ++++++++++++++++++--
 utils.c             |  6 +++---
 utils.h             |  4 ++--
 5 files changed, 67 insertions(+), 15 deletions(-)

-- 
1.8.0.3


             reply	other threads:[~2013-01-06 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-06 15:32 Florian Albrechtskirchinger [this message]
2013-01-06 15:32 ` [PATCH] Btrfs-progs: add UUID switches to mkfs and convert Florian Albrechtskirchinger
2013-01-14 22:53   ` David Sterba
2013-02-27 16:43   ` David Sterba

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=1357486331-4615-1-git-send-email-falbrechtskirchinger@gmail.com \
    --to=falbrechtskirchinger@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.