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

Re: Bug#265286: Need a way for repeated choices in "select" questions



Anton Zinoviev wrote:
> Package: debconf,cdebconf
> 
> The questions with type "select" are not supposed to be used in the way
> partman uses it.  They doesn't allow to choose among repeated entries.
> This causes problems when two partitions are so similar that partman
> prints two equal lines for them - typicaly two partitions with same
> size and same number on two disks with equal geometry or RAID or LVM
> volumes.

If you really wanted to you could possibly use cdebconf's transled list
features to provide an "english translation" that uses the same text for
items while being backed by a real list that uses unique lines for
everything. I don't know if that would work, it probably depend's in the
implementation, and possibly on the frontend (this would be impossible
to do with debconf's dialog frontend, for instance). I doubt you'll get
better support from either debconf.

> On Wed, Aug 11, 2004 at 04:29:17PM -0300, Joey Hess wrote:
> > 
> > I thought I had seen more recent reports of #241785.
> > 
> > Have you seen #263046? I don't know if it's the same bug, but it's
> > similar. 
> 
> Finaly I understand what happens.  I am afraid that all ways to fix this
> bug will uglyfy the main screen of partman:
> 
> IDE1 master - Seagate U Series 40810 (40.0 GB)
>    hda3 primary    2.1 GB B F ext3       /usr
> a       pri/log    4.4 GB     FREE SPACE
>    hda6 logical    3.6 GB
>    hda5 logical   10.0 GB     ext3
>    hda8 logical   19.9 GB   K ext2       /home
> IDE2 master - Maxtor 6Y4L0 (14.4 GB)
>    hdc5 logical   10.0 GB     ext3
> b       pri/log    4.4 GB     FREE SPACE
> LVM VG probgr, LV home - 4.2 MB
>    probgr/home     4.2 MB     reiserfs
> 
> Without this the lines for hda5 and hdc5 will be equal as well as the
> lines for the free spaces.

Have you considered just bringing the "hda" down to the free space
line?

    hda3 primary    2.1 GB B F ext3       /usr
    hda  pri/log    4.4 GB     FREE SPACE
    hda6 logical    3.6 GB
    hda5 logical   10.0 GB     ext3
    hda8 logical   19.9 GB   K ext2       /home
 IDE2 master - Maxtor 6Y4L0 (14.4 GB)
    hdc5 logical   10.0 GB     ext3
    hdc  pri/log    4.4 GB     FREE SPACE
 LVM VG probgr, LV home - 4.2 MB
    probgr/home     4.2 MB     reiserfs

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: