[Top][All Lists]
[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 */
- [PATCH 03/10] update copyrights in r/, (continued)
- [PATCH 03/10] update copyrights in r/, Jim Meyering, 2012/02/03
- [PATCH 04/10] lib-fs-resize: add wrappers for open, close, resize, get_resize_constraint, Jim Meyering, 2012/02/03
- [PATCH 05/10] lib-fs-resize: rewrite ped_file_system_clobber, Jim Meyering, 2012/02/03
- [PATCH 10/10] doc: mention HFS+/FAT file system resizing in NEWS, Jim Meyering, 2012/02/03
- [PATCH 09/10] tests: test FAT and HFS file system resizing, Jim Meyering, 2012/02/03
- [PATCH 08/10] tests: add FS-resize test driver, Jim Meyering, 2012/02/03
- [PATCH 06/10] maint: remove r/hfs/DOC,HISTORY,TODO; add VERSION for new library, Jim Meyering, 2012/02/03
- [PATCH 02/10] lib-fs-resize: re-add HFS and FAT file-system-related code, Jim Meyering, 2012/02/03
- Re: libparted-fs-resize: HFS/FAT file system resizing library, Curtis Gedak, 2012/02/03
- Re: libparted-fs-resize: HFS/FAT file system resizing library, Curtis Gedak, 2012/02/04
- Re: libparted-fs-resize: HFS/FAT file system resizing library,
Jim Meyering <=