linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Btrfs-progs: add UUID switches to mkfs and convert
@ 2013-01-06 15:32 Florian Albrechtskirchinger
  2013-01-06 15:32 ` Florian Albrechtskirchinger
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Albrechtskirchinger @ 2013-01-06 15:32 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Florian Albrechtskirchinger

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


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

end of thread, other threads:[~2013-02-27 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-06 15:32 [PATCH] Btrfs-progs: add UUID switches to mkfs and convert Florian Albrechtskirchinger
2013-01-06 15:32 ` Florian Albrechtskirchinger
2013-01-14 22:53   ` David Sterba
2013-02-27 16:43   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).