Hello to all the list,

my name is Lisa and I need to use libparted as part of my GSoC project, but
I've stumbled upon some difficulties. I tried looking for documentation or
asking on the IRC channel #parted, but without success, so here I am :)

I need to implement these two things:
1) knowing the minimum size a partition can be resized to (for when there
is a filesystem and we don't want to destroy its data);
2) resizing a partition together with its filesystem, if resizing is
supported for that particular filesystem.
I've read that for resizing a filesystem I need to call directly the
filesystem services as you don't support it anymore starting from libparted
3.0, and that's okay.
For the second task, from what I heard libparted still provides
ped_file_system_open and ped_file_system_get_resize_constraint, but it
seems I'm not able to access them in my code. I've included the headers
parted.h and filesys.h, but I still receive an error from the compiler (not
the linker) that it doesn't find them. My version of parted is 3.0-1. What
am I missing? :)

Regards,
Lisa

-- 
They say a little knowledge is a dangerous thing, but it's not one half so
bad as a lot of ignorance.

Reply via email to