search for: guestfs_resize2f

Displaying 14 results from an estimated 14 matches for "guestfs_resize2f".

Did you mean: guestfs_resize2fs
2014 Jul 11
2
golang binding help
Hello. I'm very happy with libguestfs, but now i'm try to write packer plugin to strip images: 1) resize filesystem to minimum 2) resize partitions to minimum 3) create/resize file with needed size But golang binding have not docs. Is that possible to generate something suitable to godoc.org to determine api methods and input,output variables for functions? -- Vasiliy Tolstov, e-mail:
2012 Mar 09
5
[PATCH 0/5] Fixes to resize2fs (RHBZ#755729, RHBZ#801640)
https://bugzilla.redhat.com/show_bug.cgi?id=755729 This bug reports that the error message printed by the resize2fs API calls (which comes directly from the resize2fs command) says: Please run 'e2fsck -f /dev/vda1' first. That command is not possible from guestfish (where it would be 'e2fsck-f' or 'e2fsck ... forceall:true'). Fixing that bug caused this bug:
2017 Jul 29
5
[PATCH 1/1] New partition API: part_resize
...ot;; + longdesc = "\ +This command resizes the partition numbered C<partnum> on C<device> +by moving the end position. + +Note that this does not modify any filesystem present in the partition. +If you wish to do this, you will need to use filesystem resizing +commands like C<guestfs_resize2fs>. + +When growing a partition you will want to grow the filesystem +afterwards, but when shrinking, you need to shrink the filesystem +before the partition." }; + ] diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml index dec02f5fa..7895063b6 100644 --- a/generator/proc_nr.ml +++ b/...
2011 Jan 14
0
Patch. not working
...;guestfs_getxattr>, L<attr(5)>."); > > + ("resize2fs_M", (RErr, [Device "device"], []), 281, [], > + [], > + "resize an ext2, ext3 or ext4 filesystem for their minimal size value", > + "\ > +This command is the same as C<guestfs_resize2fs> , but resizes partition > +to minimal size value."); > + > ] > > let all_functions = non_daemon_functions @ daemon_functions > diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR > index 1b1c131..1473a88 100644 > --- a/src/MAX_PROC_NR > +++ b/src/MAX_PROC_NR >...
2017 Jul 30
0
Re: [PATCH 1/1] New partition API: part_resize
...gt; +This command resizes the partition numbered C<partnum> on C<device> > +by moving the end position. > + > +Note that this does not modify any filesystem present in the partition. > +If you wish to do this, you will need to use filesystem resizing > +commands like C<guestfs_resize2fs>. > + > +When growing a partition you will want to grow the filesystem > +afterwards, but when shrinking, you need to shrink the filesystem > +before the partition." }; > + > ] > diff --git a/generator/proc_nr.ml b/generator/proc_nr.ml > index dec02f5fa..7895063b6...
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.
2012 Jan 13
2
[PATCH 1/2] ext2: tweak the error returned message of resize2fs-M(BZ755729)
Tweak the error message "e2fsck -f" and "e2fsck -fy" to "e2fsck-f" and "e2fsck-fy". Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/ext2.c | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/daemon/ext2.c b/daemon/ext2.c index 79fd354..9fe938e 100644 --- a/daemon/ext2.c +++ b/daemon/ext2.c
2014 Jul 11
2
Re: golang binding help
...d. > and the golang examples: > > http://libguestfs.org/guestfs-golang.3.html > > and the golang tests: > > https://github.com/libguestfs/libguestfs/tree/master/golang/src/libguestfs.org/guestfs > Thanks > (c) In the API you can resize filesystems using calls like > guestfs_resize2fs / g.Resize2fs and others. However note that there > is no single API for doing a virt-resize -like operation. You have to > actually call virt-resize if you want to resize a whole OS disk. > > Hope that helps, let me know if you have more questions. > > Rich. I'm try to us...
2019 Aug 12
1
[PATCH] Fix small issues in documentations of APIs
...l key, which is added to key slot C<keyslot>. (LUKS supports 8 key slots, numbered 0-7)." }; { defaults with @@ -6115,7 +6115,7 @@ See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>." }; longdesc = "\ This command is the same as C<guestfs_resize2fs>, but the filesystem is resized to its minimum size. This works like the I<-M> option -to the C<resize2fs> command. +to the L<resize2fs(8)> command. To get the resulting size of the filesystem you should call C<guestfs_tune2fs_l> and read the C<Block size> an...
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...style = RErr, [Device "device"; Int64 "size"], []; + style = RErr, [String (Device, "device"); Int64 "size"], []; shortdesc = "resize an ext2, ext3 or ext4 filesystem (with size)"; longdesc = "\ This command is the same as C<guestfs_resize2fs> except that it @@ -5714,7 +5714,7 @@ See also L<guestfs(3)/RESIZE2FS ERRORS>." }; { defaults with name = "pvresize_size"; added = (1, 3, 14); - style = RErr, [Device "device"; Int64 "size"], []; + style = RErr, [String (Device, "dev...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.