bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libparted-fs-resize: HFS/FAT file system resizing library


From: Jim Meyering
Subject: Re: libparted-fs-resize: HFS/FAT file system resizing library
Date: Mon, 06 Feb 2012 12:05:43 +0100

Curtis Gedak wrote:
> On 12-02-03 02:46 PM, Jim Meyering wrote:
>>  From NEWS:
>>
>>     parted provides a new library, libparted-fs-resize, for resizing
>>     HFS+ and FAT file systems.  This is the subset of the FS-manipulation
>>     functionality removed in parted-3.0 for which we have found no free
>>     alternative.  That library provides only these entry points:
>>       ped_file_system_close
>>       ped_file_system_get_resize_constraint
>>       ped_file_system_open
>>       ped_file_system_resize
>>     so when using it you must also link with libparted.
>>
>> Feedback welcome, the sooner the better.
>
> Jim, after applying the ten patches I built parted with with
> ./bootstrap, ./configure --without-readline, make, and sudo make
> install.
>
> Then when I check the /usr/local/include/parted directory, the
> filesys.h file contains three of the above listed functions.  However,
> the ped_file_system_get_resize_constraint function is missing.

Hi Curtis,
Thanks a lot for the speedy feedback.
I did indeed forget to declare that function in the filesys.h.

I'm folding this into one of the patches in that series:

diff --git a/include/parted/filesys.in.h b/include/parted/filesys.in.h
index 7d493d6..c0f72f4 100644
--- a/include/parted/filesys.in.h
+++ b/include/parted/filesys.in.h
@@ -102,6 +102,7 @@ PedFileSystem *ped_file_system_open (PedGeometry *geom);
 int ped_file_system_close (PedFileSystem *fs);
 int ped_file_system_resize (PedFileSystem *fs, PedGeometry *geom,
                            PedTimer *timer);
+PedConstraint *ped_file_system_get_resize_constraint (const PedFileSystem *fs);

 #endif /* PED_FILESYS_H_INCLUDED */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]