Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Wild idea 1 for Partitioner UI

About this gist

IMPORTANT: After exchanging opinions in the yast-devel mailing list, this can be considered obsolete and replaced by the refined version at

This is a follow-up of which means is also a follow-up of

This includes a proposal for the UI of the partitioner offering all the new features (partitionable RAIDs, formattable disks and so on).

It's based on three general ideas:

  • Offer a different set of buttons depending on the item selected on the table.
  • Always offer an "Edit" menu-button.
  • General actions that don't correspond to a concrete entry of the table are represented by buttons in a second line.

The Hard Disks table

See animated image below.

Some notes about the buttons for a disk.

  • "Edit -> Hard Disk" opens the wizard to directly format/mount/encrypt the disk.
  • "Partitions -> Edit List" takes the user to the "Partitions" tab for the disk, just as the old "Edit" button used to do.
  • Having "Edit" and "Partitions" side by side should be a good sign for the user about the fact that "Edit" doesn't mean jumping to the list of partitions anymore.

Some notes about the buttons for a partition.

  • "Edit -> Partition" is the old partition "Edit", i.e. the wizard to format/mount/encrypt the partition.
  • "Edit -> Size" is the old "Resize".
  • "Edit -> Position" is the old "Move".

Hard Disks table

The RAIDs table

See animated image below.

The buttons for a RAID are basically equivalent to the buttons for a hard disk, but with two additions.

  • A "Delete" button.
  • An "Edit -> Used Devices" option equivalent to the old "Resize".

The buttons for a partition are equivalent to the Hard Disks table.

RAIDs table

The table of partitions for a given disk/RAID/bcache

See animated image below. Not much to add, the buttons affecting the current selected partition are explained above and the two general buttons should be self-descriptive.

Partitions of a RAID

The Volume Management table

See animated image below. The buttons for VGs and LVs are their respective meanings are pretty much analogous to the ones in the table of RAIDs and their partitions. So not much explanation should be needed at this point.

The only strange thing is that, for symmetry with the other tables, the "Edit" option for an VG is a menu-button, despite the fact that it only contains one action (so far).

LVM table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.