Hello! It is me again. About the email named "parted_1G_extended_error_bug" of last time, I think about it and get the following guess: The unit "G" is too inaccurate，or I should say its adjustment range is too large, so I must use "MB" for best. Maybe it is too sample what I say, but I hope to know if I use unit "MB" how accurate can I get in different FS_TYPE, LABEL_TYPE and so on.
I have another question, if I parted the primary partition or logical
partition at the same site, for example from 1G to 2G. Does it get the
same "start" and "end" value? I think if it is not, what is the reason
of the difference in your code, and the connection of the value between primary and logical.
>From what I say, you can know I want to get the last value of the
"start" and "end" of a partition. Could you tell me a function in the
parted's lib that can do this better. The source code is too long I
have no much time to read all of it, but I need to use it for a
project. I hope you wish to give me a suggest and prompt.