diff options
| author | Richard Jones <rjones@redhat.com> | 2010-05-21 14:13:24 +0100 |
|---|---|---|
| committer | Richard Jones <rjones@redhat.com> | 2010-05-21 14:51:54 +0100 |
| commit | 71b02d6654395ff04689055f3820b3ad4e54ec00 (patch) | |
| tree | f05c6f64ee13874a6b32ded10b24533883ee05bb /src | |
| parent | 5e1aff7856f721bf5737815a5b65c0de23ab0b0c (diff) | |
| download | libguestfs-71b02d6654395ff04689055f3820b3ad4e54ec00.tar.gz libguestfs-71b02d6654395ff04689055f3820b3ad4e54ec00.tar.xz libguestfs-71b02d6654395ff04689055f3820b3ad4e54ec00.zip | |
New API: resize2fs-size to allow shrinking ext2 filesystems (RHBZ#585221).
Diffstat (limited to 'src')
| -rwxr-xr-x | src/generator.ml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/generator.ml b/src/generator.ml index aca56a87..b2ba5139 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -4686,6 +4686,13 @@ unlikely for regular files in ordinary circumstances. See also C<guestfs_pread>."); + ("resize2fs_size", (RErr, [Device "device"; Int64 "size"]), 248, [], + [], + "resize an ext2/ext3 filesystem (with size)", + "\ +This command is the same as C<guestfs_resize2fs> except that it +allows you to specify the new size (in bytes) explicitly."); + ] let all_functions = non_daemon_functions @ daemon_functions |
