bug-parted
[Top][All Lists]
Advanced

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

Re: HFS / HFS+ implementation in GNU Parted


From: Yury Umanets
Subject: Re: HFS / HFS+ implementation in GNU Parted
Date: Tue, 08 Apr 2003 04:00:50 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

K.G. wrote:

Here is the first experimental HFS resize support for GNU Parted (and still 
HFS+ detection) :
http://xilun666.free.fr/parted-1.6.5-hfs.patch

This need code cleanup and lots of ASSERT to make it really usable, but it 
seems to work.
Right now you should do 2 resize command to make it works properly.
Don't forget to save your data if you are crazy (courageous ?) enough to try it.
I continue working on it.


Oh, its realy cool! What about to implement it as libhfs and let parted link aginst it? It would be reasonable.

--
Yury Umanets We're flying high, we're watching the world passes by...

I didn't know neither libhfs nor libhfs+ when i started this code,
I don't know such libs too. That is why I said you should implement libhfs which may be used by anybody. Not only the parted.

so I will continue to both integrate it into and write HFS+ support for GNU 
Parted, because my code use different schemes than theses two libraries, and 
switching to the (maybe better for long run support) separated library and 
wrapper approach would take more time than I have.

Okay, probably one will have more time on day than you have.

Anyway implementation in libhfs(+) could be quite fast for someone who has some 
previous knowledge of these libraries : all you have to do is to relocate every 
extents to send free space at the end of the volume and change block number in 
Master Directory Block / Volume Header.

Probably you have not comprehend me. I talking about not only resize support, but rather about implementing all functions parted need them.



---
Guillaume Knispel




--
Yury Umanets We're flying high, we're watching the world passes by...






reply via email to

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