mke2fs
Description:
create an ext2/ext3/ext4 filesystem on device
mke2fs is used to create an ext2, ext3, or ext4 filesystem on device.
The optional blockscount is the size of the filesystem in blocks. If omitted it defaults to the size of device. Note
if the filesystem is too small to contain a journal, mke2fs will silently create an ext2 filesystem instead.
Parameters:
| this |
A GuestfsSession object |
| optargs |
a GuestfsMke2fs containing optional arguments |
Returns:
|
true on success, false on error |