resize2fs


Description:

[ Version ( since = "1.0.27" ) ]
public bool resize2fs (string device) throws Error

resize an ext2, ext3 or ext4 filesystem

This resizes an ext2, ext3 or ext4 filesystem to match the size of the underlying device.

See also "RESIZE2FS ERRORS" in guestfs(3).

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error