Displaying 9 results from an estimated 9 matches for "part_resize".
Did you mean:
parse_resize
2017 Jul 30
0
Re: [PATCH 1/1] New partition API: part_resize
...s changed, 55 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/parted.c b/daemon/parted.c
> index 72e1b8420..f1205cadf 100644
> --- a/daemon/parted.c
> +++ b/daemon/parted.c
> @@ -178,6 +178,37 @@ do_part_del (const char *device, int partnum)
> }
>
> int
> +do_part_resize (const char *device, int partnum, int64_t endsect)
> +{
> + int r;
> + CLEANUP_FREE char *err = NULL;
> + char endstr[32];
> + char partnum_str[16];
> +
> + if (partnum <= 0) {
> + reply_with_error ("partition number must be >= 1");
> + return -...
2017 Jul 29
5
[PATCH 1/1] New partition API: part_resize
...| 1 +
lib/MAX_PROC_NR | 2 +-
4 files changed, 55 insertions(+), 1 deletion(-)
diff --git a/daemon/parted.c b/daemon/parted.c
index 72e1b8420..f1205cadf 100644
--- a/daemon/parted.c
+++ b/daemon/parted.c
@@ -178,6 +178,37 @@ do_part_del (const char *device, int partnum)
}
int
+do_part_resize (const char *device, int partnum, int64_t endsect)
+{
+ int r;
+ CLEANUP_FREE char *err = NULL;
+ char endstr[32];
+ char partnum_str[16];
+
+ if (partnum <= 0) {
+ reply_with_error ("partition number must be >= 1");
+ return -1;
+ }
+
+ snprintf (partnum_str, sizeof pa...
2017 Jul 31
0
check-release FAILED (was: Re: [PATCH 1/1] New partition API: part_resize)
...led: generator/actions_core.ml:9646
error: generator/actions_core.ml: patch does not apply
error: patch failed: generator/proc_nr.ml:484
error: generator/proc_nr.ml: patch does not apply
error: patch failed: lib/MAX_PROC_NR:1
error: lib/MAX_PROC_NR: patch does not apply
Applying: New partition API: part_resize
Patch failed at 0001 New partition API: part_resize
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch...
2017 Jul 29
0
[PATCH 0/1] New partition API: part_resize
...moving and re-creating the partition is not easy. One such case is
when the partition numbering contains gaps. If we have a partition table
with 2 partitions with numbers 1 and 3, removing and re-creating the
latter with parted will change its number to 2.
Nikos Skalkotos (1):
New partition API: part_resize
daemon/parted.c | 31 +++++++++++++++++++++++++++++++
generator/actions_core.ml | 22 ++++++++++++++++++++++
generator/proc_nr.ml | 1 +
lib/MAX_PROC_NR | 2 +-
4 files changed, 55 insertions(+), 1 deletion(-)
--
2.13.3
2017 Jul 31
1
Re: check-release FAILED (was: Re: [PATCH 1/1] New partition API: part_resize)
These emails are not real failures. The commit went upstream just
before the test ran, so the test thought that the commit didn't apply
cleanly ...
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful
2017 Aug 09
0
[PATCH v12 04/11] New API: Deprecate hivex_value_utf8 and replace with hivex_value_string.
...mon_functions : Types.action list
diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml
index 7895063b6..046f424ea 100644
--- a/generator/proc_nr.ml
+++ b/generator/proc_nr.ml
@@ -485,6 +485,8 @@ let proc_nr = [
475, "file_architecture";
476, "list_filesystems";
477, "part_resize";
+478, "hivex_value_utf8";
+479, "hivex_value_string";
]
(* End of list. If adding a new entry, add it at the end of the list
diff --git a/lib/MAX_PROC_NR b/lib/MAX_PROC_NR
index bf2c10d23..bf110299d 100644
--- a/lib/MAX_PROC_NR
+++ b/lib/MAX_PROC_NR
@@ -1 +1 @@
-477...
2018 Feb 09
0
ANNOUNCE: libguestfs 1.38 released
...string"
This replaces the deprecated "hivex_value_utf8" API, but does the
same thing.
"part_get_gpt_attributes"
"part_set_gpt_attributes"
Read and write GPT partition attribute flags (Cédric Bosdonnat).
"part_resize"
Enlarge or shrink an existing partition (Nikos Skalkotos).
"yara_destroy"
"yara_load"
"yara_scan"
Support for the Yara malware scanning engine (Matteo Cafasso).
Other API changes
APIs implemented in the...
2017 Aug 09
16
[PATCH v12 00/11] Reimplement inspection in the daemon.
This fixes almost everything. Note that it adds an extra commit which
fixes the whole utf8/iconv business.
It's probably better to list what isn't fixed:
(1) I didn't leave the osinfo code around because I'm still haven't
looked too closely at virt-builder-repository. Can't we just fetch
this code from the git history when we need it?
(2) I didn't change the way
2017 Jul 31
16
[PATCH v11 00/10] Reimplement inspection in the daemon.
v10: https://www.redhat.com/archives/libguestfs/2017-July/msg00245.html
No actual change here, but I rebased and retested. Also this series
now does not depend on any other patch series since everything else
needed is upstream.
Rich.