RE: [PATCH 1/3] fdisk: change primary or extended partition type dialog

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

 



Francesco Cosoleto wrote:
> 2011/4/29 Voelker, Bernhard <bernhard.voelker@xxxxxxxxxxxxxxxxxxxxxx>:
>>>    p   primary (0 used, 4 free)
>> ...
>>>    p   primary (0 used, 3 free)
>>
>> what about the 4th? I'm confused.
>
> The patch avoids to report extended partition as used primary
> partition. Not a big deal removing this part and just to keep the
> original form ("primary (1-4)", "logical (5 or over)").

The point from a user's point of view is to see if there's an extended
partition yet or not, so maybe the most helpful information would be
something like e.g.

    p   primary (1 primary used, 1 extended used, 2 free)
    l   logical (5 or over)

OTOH this mixes the general information
* (for p) how many are used/free
vs.
* (for l) how's the partition numbering in that range (sda[5...]).

Therefore, my personal vote is to do it the old way, but keep p
before e|l:

* no extended partition yet:

 Partition type:
    p   primary partition (1-4)
    e   extended
 Select: p

* with an extended partition:

 Partition type:
    p   primary partition (1-4)
    l   logical (5 or over)

Have a nice day,
Berny
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux