[parted-devel] problem about function partition_print

Wang Dong dongdwdw at linux.vnet.ibm.com
Mon Feb 6 03:15:47 UTC 2017



On 02/01/2017 03:33 AM, Phil Susi wrote:
> On 8/17/2016 11:04 PM, Wang Dong wrote:
>> Hi,
>>
>> I found the partition_print in do_print is not implemented.
>>
>> And I read the doc and a example is presented. I try to implement it,
>>
>> but I can not figure out the meaning of some data.
>>
>> I wonder if some one can give me some clue about this.
>>
>> Thanks in advance.
>>
>> (parted)print 1
>> Minor: 1
>> Flags: boot, lba
>> File System: fat32
>> Size:            945.000Mb (0%)
>> Minimum size:     84.361Mb (0%)
>> Maximum size:   2445.679Mb (100%)
>>
>> What does this Minimum size and Maximum size mean respectively?
>>
>> I guess the Maximum size is the capacity of this device, but what about the
>>
>> Minimum size? And the percent number?
> I'm very confused by your question.  You apparently made those fields up
> ( since right now, parted prints nothing when you ask it to print a
> partition number ), so why are you asking us what they mean?
>
Sorry for my unclear question.
This example is  from the user page of parted.
I tried to implement this function according to this example.
But I could not figure out the meaning of some items like below:

Size:            945.000Mb (0%)
Minimum size:     84.361Mb (0%)
Maximum size:   2445.679Mb (100%)

What does this Minimum size and Maximum size mean respectively?

I guess the Maximum size is the capacity of this device, but what about the

Minimum size? And the percent number?


It will be better if you can help. Thanks.
>

-- 
Best regards. Wang Dong




More information about the parted-devel mailing list