Displaying 5 results from an estimated 5 matches for "0646a16".
Did you mean:
064116
2015 Oct 19
5
[PATCHv2 0/2] Introduce vfs_min_size API to get minimum filesystem size.
Tried to make it in accordance with your comments.
Difference to v1:
Added reply_with_error where necessary.
Changed name get_min_size -> vfs_min_size.
Maxim Perevedentsev (2):
New API: vfs_min_size
Include resize2fs_P into vfs_min_size.
daemon/Makefile.am | 1 +
daemon/daemon.h | 2 ++
daemon/ext2.c | 45 ++++++++++++++++++++++++++-----
daemon/fs-min-size.c | 49
2015 Oct 19
0
[PATCH 2/2] Include resize2fs_P into vfs_min_size.
...untable)
if (vfs_type == NULL)
return -1;
+ else if (fstype_is_extfs (vfs_type))
+ r = ext_min_size (mountable->device);
+
else if (STREQ (vfs_type, "ntfs"))
r = ntfs_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)...
2015 Oct 19
1
Re: [PATCH 2/2] Include resize2fs_P into vfs_min_size.
...-1;
>
> + else if (fstype_is_extfs (vfs_type))
> + r = ext_min_size (mountable->device);
> +
> else if (STREQ (vfs_type, "ntfs"))
> r = ntfs_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 = "res...
2015 Oct 19
0
[PATCH 1/2] New API: vfs_min_size
...}
+
+ reply_with_error("Minimum size not found. Check output format:\n%s", out);
+ return -1;
+}
+
/* Takes optional arguments, consult optargs_bitmask. */
int
do_ntfsfix (const char *device, int clearbadsectors)
diff --git a/generator/actions.ml b/generator/actions.ml
index 274ef3f..0646a16 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12765,6 +12765,22 @@ Get the estimated minimum filesystem size of an ext2/3/4 filesystem in blocks.
See also L<resize2fs(8)>." };
+ { defaults with
+ name = "vfs_min_size"; added = (1, 31, 18);
+ style =...
2015 Oct 19
5
Re: [PATCH 1/2] New API: vfs_min_size
...ze not found. Check output format:\n%s", out);
> + return -1;
> +}
> +
> /* Takes optional arguments, consult optargs_bitmask. */
> int
> do_ntfsfix (const char *device, int clearbadsectors)
> diff --git a/generator/actions.ml b/generator/actions.ml
> index 274ef3f..0646a16 100644
> --- a/generator/actions.ml
> +++ b/generator/actions.ml
> @@ -12765,6 +12765,22 @@ Get the estimated minimum filesystem size of an ext2/3/4 filesystem in blocks.
>
> See also L<resize2fs(8)>." };
>
> + { defaults with
> + name = "vfs_min_size&...