search for: guestfs_vfs_uuid

Displaying 20 results from an estimated 45 matches for "guestfs_vfs_uuid".

2015 Oct 14
1
[PATCH v2] New API: resize2fs_P
...int do_e2fsck (const char *device, diff --git a/generator/actions.ml b/generator/actions.ml index a76b466..78de100 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12751,6 +12751,20 @@ Only some filesystem types support setting UUIDs. To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; + { defaults with + name = "resize2fs_P"; added = (1, 31, 17); + style = RInt64 "sizeinblocks", [Device "device"], []; + proc_nr = Some 457; + tests = [ + InitBasicFS, Always, TestRun ( + [["resize2fs_P"; "/dev/sda...
2016 Jan 27
2
[PATCH 1/2] generator: add TestRunOrUnsupported test type
Create a new TestRunOrUnsupported test type, which represents a test sequence where a failure with ENOTSUP in the last command only marks the test as skipped. To be used mainly when testing features available only with some versions of helper tools used in the appliance, for example. --- generator/tests_c_api.ml | 26 ++++++++++++++++++++++++-- generator/types.ml | 5 +++++
2015 Oct 27
1
[PATCHv2] Added xfs support to vfs_minimum_size.
...ot;); + return -1; + } + return info->xfs_blocksize * info->xfs_datablocks; +} diff --git a/generator/actions.ml b/generator/actions.ml index 8832410..d8af08d 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12765,6 +12765,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; [["mkfs"; "btrfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; ["mount"; "/dev/sda1"; "/"]; ["vfs_minimum_size"; "/dev/sda1"]]...
2015 Oct 13
4
[PATCH] New API: resize2fs_P
...int do_e2fsck (const char *device, diff --git a/generator/actions.ml b/generator/actions.ml index a76b466..7e2bfac 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12751,6 +12751,16 @@ Only some filesystem types support setting UUIDs. To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; + { defaults with + name = "resize2fs_P"; added = (1, 31, 17); + style = RInt64 "sizeinblocks", [Device "device"], []; + proc_nr = Some 457; + shortdesc = "get minimum filesystem size in blocks"; + longdesc = "\ +Get the mi...
2015 Oct 27
1
[PATCHv3] Added btrfs support to vfs_minimum_size.
...how to get minimum size of '%s' filesystems", vfs_type); diff --git a/generator/actions.ml b/generator/actions.ml index 62176ab..8832410 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12761,6 +12761,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; InitPartition, IfAvailable "ntfsprogs", TestRun( [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; ["vfs_minimum_size"; "/dev/sda1"]]), [...
2015 Oct 22
2
[PATCH] Added btrfs support for vfs_min_size.
...how to get minimum size of '%s' filesystems", vfs_type); diff --git a/generator/actions.ml b/generator/actions.ml index 62176ab..8832410 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12761,6 +12761,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; InitPartition, IfAvailable "ntfsprogs", TestRun( [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; ["vfs_minimum_size"; "/dev/sda1"]]), [...
2015 Jul 02
1
[PATCH v6] New API: set_uuid_random
...+Set the filesystem UUID on C<device> to a random UUID. +If this fails and the errno is ENOTSUP, +means that there is no support for changing the UUID +for the type of the specified filesystem. + +Only some filesystem types support setting UUIDs. + +To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; + ] (* Non-API meta-commands available only in guestfish. diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 4930863..8d38505 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -455 +456 diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl ind...
2015 Jun 26
0
[PATCH v3.1 9/9] New API: set_uuid_random
...andom"; "/dev/sda1"]]), []; + ]; + shortdesc = "set the random filesystem UUID"; + longdesc = "\ +Set the filesystem UUID on C<device> to a random UUID. + +Only some filesystem types support setting UUIDs. + +To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; + ] (* 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 ind...
2015 Jun 30
0
[PATCH v4 7/7] New API: set_uuid_random
...quot;; "/dev/sda1"]]), []; + ]; + shortdesc = "set a random UUID for the filesystem"; + longdesc = "\ +Set the filesystem UUID on C<device> to a random UUID. + +Only some filesystem types support setting UUIDs. + +To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; + ] (* Non-API meta-commands available only in guestfish. diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 4930863..8d38505 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -455 +456 diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl ind...
2015 Oct 13
0
Re: [PATCH] New API: resize2fs_P
...e, > diff --git a/generator/actions.ml b/generator/actions.ml > index a76b466..7e2bfac 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -12751,6 +12751,16 @@ Only some filesystem types support setting UUIDs. > > To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; > > + { defaults with > + name = "resize2fs_P"; added = (1, 31, 17); > + style = RInt64 "sizeinblocks", [Device "device"], []; > + proc_nr = Some 457; > + shortdesc = "get minimum filesystem size in blocks"; >...
2016 Jan 27
0
[PATCH 2/2] actions: mark btrfs test case of vfs_minimum_size as TestRunOrUnsupported
...t enough. --- generator/actions.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/actions.ml b/generator/actions.ml index 14902e7..0d227cf 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12765,7 +12765,7 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; InitPartition, IfAvailable "ntfsprogs", TestRun( [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; ["vfs_minimum_size"; "/dev/sda1"]]), [...
2015 Oct 16
0
[PATCH 2/2] Include resize2fs_P into get_min_size.
...et_min_size (mountable->device); diff --git a/generator/actions.ml b/generator/actions.ml index e88dfe7..5beda4a 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12752,24 +12752,12 @@ Only some filesystem types support setting UUIDs. To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; { defaults with - name = "resize2fs_P"; added = (1, 31, 17); - style = RInt64 "sizeinblocks", [Device "device"], []; - proc_nr = Some 457; - tests = [ - InitBasicFS, Always, TestRun ( - [["resize2fs_P"; "/dev/sd...
2015 Oct 19
0
[PATCH 2/2] Include resize2fs_P into vfs_min_size.
...fs_min_size (mountable->device); diff --git a/generator/actions.ml b/generator/actions.ml index 0646a16..22358ef 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12752,24 +12752,12 @@ Only some filesystem types support setting UUIDs. To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; { defaults with - name = "resize2fs_P"; added = (1, 31, 17); - style = RInt64 "sizeinblocks", [Device "device"], []; - proc_nr = Some 457; - tests = [ - InitBasicFS, Always, TestRun ( - [["resize2fs_P"; "/dev/sd...
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2010 Jul 27
0
Inspection code in C
...ove to C. The current "inspect_in_detail" call lists applications, kernels, drivers etc installed in the guest. Furthermore the current API exposes a lot of information about individual filesystems, such as their UUID, which is nowadays unnecessary since we added calls such as guestfs_vfs_uuid to the main libguestfs API. I don't think it's necessary to move all of this into C. We can move it later if we want to, or leave it to the higher level tools. But it's not necessary to gain the benefits (a) through (d) above. As a result, the proposed API below is considera...
2015 Oct 24
3
[PATCH] Added xfs support for vfs_min_size.
...oes not support shrinking. + return info->xfs_blocksize * info->xfs_datablocks; +} diff --git a/generator/actions.ml b/generator/actions.ml index 8832410..d8af08d 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12765,6 +12765,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; [["mkfs"; "btrfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; ["mount"; "/dev/sda1"; "/"]; ["vfs_minimum_size"; "/dev/sda1"]]...
2015 Oct 20
0
[PATCHv3 2/2] Include resize2fs_P into vfs_min_size.
...minimum_size (mountable->device); diff --git a/generator/actions.ml b/generator/actions.ml index e0459c0..10acb7c 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12752,24 +12752,12 @@ Only some filesystem types support setting UUIDs. To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; { defaults with - name = "resize2fs_P"; added = (1, 31, 17); - style = RInt64 "sizeinblocks", [Device "device"], []; - proc_nr = Some 457; - tests = [ - InitBasicFS, Always, TestRun ( - [["resize2fs_P"; "/dev/sda...
2018 Oct 04
0
[PATCH v2 3/4] inspector: Use libxml writer macros.
...CAST str)); - free (str); - - str = guestfs_vfs_label (g, filesystems[i]); - if (str && str[0]) - XMLERROR (-1, - xmlTextWriterWriteElement (xo, BAD_CAST "label", - BAD_CAST str)); - free (str); - - str = guestfs_vfs_uuid (g, filesystems[i]); - if (str && str[0]) - XMLERROR (-1, - xmlTextWriterWriteElement (xo, BAD_CAST "uuid", - BAD_CAST str)); - free (str); - - guestfs_pop_error_handler (g); - - XMLERROR (-1, xmlTextWriterE...
2015 Oct 23
0
Re: [PATCH] Added btrfs support for vfs_min_size.
...9;%s' filesystems", > vfs_type); > diff --git a/generator/actions.ml b/generator/actions.ml > index 62176ab..8832410 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -12761,6 +12761,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; > InitPartition, IfAvailable "ntfsprogs", TestRun( > [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; > ["vfs_minimum_size"; "/dev/s...
2015 Oct 23
1
[PATCHv2] Added btrfs support for vfs_min_size.
...how to get minimum size of '%s' filesystems", vfs_type); diff --git a/generator/actions.ml b/generator/actions.ml index 62176ab..8832410 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12761,6 +12761,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." }; InitPartition, IfAvailable "ntfsprogs", TestRun( [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"]; ["vfs_minimum_size"; "/dev/sda1"]]), [...