c - How do I resize an ext4 partition programmatically? -


I want to convert an ext4 partition to programmatically convert it to C. I believe I can use to change the size of the partition, but not the file system? Can anyone tell me in the right direction?

use resize_fs () .

For an example of usage, take a look here:


Comments