search for: b82c1b9

Displaying 5 results from an estimated 5 matches for "b82c1b9".

2015 Jun 24
10
[PATCH 0/5] uuid: add btrfs uuid change support and some rework
- Btrfs-progs v4.1 introduced new feature of changing uuid of btrfs partition. This patch add support of this. - uuids.c did a lot of deplicated work for changing uuid of fs. Use existed functions. -- Introduce new API: btrfstune_set_uuid_random Chen Hanxiao (5): uuid: add support to change uuid of btrfs partition uuid: use existed function of ext2 uuid: use newly introduced
2015 Jun 24
2
Re: [PATCH v2 1/5] uuid: add support to change uuid of btrfs partition
...+++++++++++++++++++++++++ > daemon/daemon.h | 1 + > daemon/uuids.c | 9 +++++-- > tests/btrfs/test-btrfs-misc.pl | 6 +++++ > 4 files changed, 74 insertions(+), 2 deletions(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index 20e5e6b..b82c1b9 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -790,6 +790,44 @@ do_btrfs_device_delete (char *const *devices, const char *fs) > return 0; > } > > + > +/* btrfstune command add two new options > + * -U UUID change fsid to UUID > + * -u c...
2015 Jun 24
0
[PATCH 5/5] New API: btrfstune_set_uuid_random
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/btrfs.c | 21 +++++++++++++++++++++ generator/actions.ml | 18 ++++++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index b82c1b9..e4d8b64 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -867,6 +867,27 @@ btrfstune_set_uuid (const char *device, const char *uuid) return 0; } +int +do_btrfstune_set_uuid_random (const char *device) +{ + CLEANUP_FREE char *err = NULL; + int r; + int has_uuid_opts = test_btrftune_uuid...
2015 Jun 24
0
[PATCH v2 1/5] uuid: add support to change uuid of btrfs partition
...| 60 ++++++++++++++++++++++++++++++++++++++++++ daemon/daemon.h | 1 + daemon/uuids.c | 9 +++++-- tests/btrfs/test-btrfs-misc.pl | 6 +++++ 4 files changed, 74 insertions(+), 2 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 20e5e6b..b82c1b9 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -790,6 +790,44 @@ do_btrfs_device_delete (char *const *devices, const char *fs) return 0; } + +/* btrfstune command add two new options + * -U UUID change fsid to UUID + * -u change fsid, use a random one + * since v4.1 + * We...
2015 Jun 25
0
Re: [PATCH v2 1/5] uuid: add support to change uuid of btrfs partition
...; daemon/daemon.h | 1 + > > daemon/uuids.c | 9 +++++-- > > tests/btrfs/test-btrfs-misc.pl | 6 +++++ > > 4 files changed, 74 insertions(+), 2 deletions(-) > > > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > > index 20e5e6b..b82c1b9 100644 > > --- a/daemon/btrfs.c > > +++ b/daemon/btrfs.c > > @@ -790,6 +790,44 @@ do_btrfs_device_delete (char *const *devices, const char > *fs) > > return 0; > > } > > > > + > > +/* btrfstune command add two new options > > + * -U UUID...