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

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -