Displaying 8 results from an estimated 8 matches for "b47caab".
2015 Jun 26
3
Re: [PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...type, "btrfs"))
> + r = btrfs_set_uuid (device, uuid);
>
> else {
> reply_with_error ("don't know how to set the UUID for '%s' filesystems",
> diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
> index 2fe7c59..b47caab 100755
> --- a/tests/btrfs/test-btrfs-misc.pl
> +++ b/tests/btrfs/test-btrfs-misc.pl
> @@ -20,6 +20,7 @@
>
> use strict;
> use warnings;
> +use Errno;
>
> use Sys::Guestfs;
>
> @@ -47,5 +48,21 @@ my $label = $g->vfs_label ("/dev/sda1");
> d...
2015 Jun 29
1
Re: [PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...assed anyway to the btrfstune invocation, so with
> > newer versions hopefully there will not be complaints about it anymore.
>
> Fine.
>
> >
> [snip]
> > > diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
> > > index 2fe7c59..b47caab 100755
> > > --- a/tests/btrfs/test-btrfs-misc.pl
> > > +++ b/tests/btrfs/test-btrfs-misc.pl
> > > @@ -20,6 +20,7 @@
> > >
> > > use strict;
> > > use warnings;
> > > +use Errno;
> > >
> > > use Sys::Guestfs;
> &...
2015 Jun 26
0
[PATCH v3.1 9/9] New API: set_uuid_random
...;." };
+
]
(* Non-API meta-commands available only in guestfish.
diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR
index 515f19a..4930863 100644
--- a/src/MAX_PROC_NR
+++ b/src/MAX_PROC_NR
@@ -1 +1 @@
-454
+455
diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
index b47caab..4982f0d 100755
--- a/tests/btrfs/test-btrfs-misc.pl
+++ b/tests/btrfs/test-btrfs-misc.pl
@@ -64,5 +64,16 @@ if ($err == 0) {
warn "$0: skipping test for btrfs UUID change feature is not available\n";
}
+# Setting btrfs random UUID.
+eval {
+ $g->set_uuid_random ("/dev/...
2015 Jun 26
14
[PATCH v3.1 0/9] uuid: add btrfs uuid change support and set_uuid_random
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- Introduce set_uuid_random
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existing functions.
v3.1: fix typos
v3: set errno if feature is not available.
Chen Hanxiao (9):
uuid: add support to change uuid of btrfs partition
uuid: use existing function of
2015 Jun 29
0
Re: [PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...p'.
>
> So --help should be passed anyway to the btrfstune invocation, so with
> newer versions hopefully there will not be complaints about it anymore.
Fine.
>
[snip]
> > diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
> > index 2fe7c59..b47caab 100755
> > --- a/tests/btrfs/test-btrfs-misc.pl
> > +++ b/tests/btrfs/test-btrfs-misc.pl
> > @@ -20,6 +20,7 @@
> >
> > use strict;
> > use warnings;
> > +use Errno;
> >
> > use Sys::Guestfs;
> >
> > @@ -47,5 +48,21 @@ my $label =...
2015 Jun 26
0
[PATCH v3 1/4] uuid: add support to change uuid of btrfs partition
...;
- }
+ else if (STREQ (vfs_type, "btrfs"))
+ r = btrfs_set_uuid (device, uuid);
else {
reply_with_error ("don't know how to set the UUID for '%s' filesystems",
diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
index 2fe7c59..b47caab 100755
--- a/tests/btrfs/test-btrfs-misc.pl
+++ b/tests/btrfs/test-btrfs-misc.pl
@@ -20,6 +20,7 @@
use strict;
use warnings;
+use Errno;
use Sys::Guestfs;
@@ -47,5 +48,21 @@ my $label = $g->vfs_label ("/dev/sda1");
die "unexpected label: expecting 'newlabel' but...
2015 Jun 26
0
[PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...;
- }
+ else if (STREQ (vfs_type, "btrfs"))
+ r = btrfs_set_uuid (device, uuid);
else {
reply_with_error ("don't know how to set the UUID for '%s' filesystems",
diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
index 2fe7c59..b47caab 100755
--- a/tests/btrfs/test-btrfs-misc.pl
+++ b/tests/btrfs/test-btrfs-misc.pl
@@ -20,6 +20,7 @@
use strict;
use warnings;
+use Errno;
use Sys::Guestfs;
@@ -47,5 +48,21 @@ my $label = $g->vfs_label ("/dev/sda1");
die "unexpected label: expecting 'newlabel' but...
2015 Jun 26
5
[PATCH v3 0/4] 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 existing functions.
v3: set errno if feature is not available.
Chen Hanxiao (4):
uuid: add support to change uuid of btrfs partition
uuid: use existing function of ext2
uuid: use newly introduced