New In KDE Partition Manager 1.1 (V): Options Galore
19 Comments
It is nice that KDE SC gets own partition manager.
Is it really necessary to have groups for every option? For me it looks like it would be better if groups in that UI would be removed and only show all the options nicely.
And is it wise at all to allow option to manage partitions without root (please, lets use the old and familiar and original root and not "administrator") rights?
I've used many partitioning and filesystem tools over the years (from DOS 6 in the early 90s) and am generally equally comfortable with graphical, semigraphical (cfdisk) and CLI based tools. Currently I use gdisk, for GPT based partitions, on everything from thumb drives to external hard drives to md/RAID volumes to the partitions on the physical drives containing those md/RAIDs.
But I've been following kde partitionmanager for some time, and in particular have enjoyed this series of blog posts. While I'm perfectly at home on the command line, not everybody is, and partitionmanager should be a good tool for installers and emergency recovery disks.
So keep up the good work. =:^)
And umm... maybe, someday, I can look forward to having md/RAID partition management, complete with nesting, etc, all visualized in there as well? =:^) Eh, maybe not, but you're already handling the filesystems, which could be argued to be similarly out of scope, and proper btrfs support will mean logical support for its internal raid, etc, already, so md/RAID and device-mapping/lvm2 support isn't /that/ far removed from proper btrfs support, which you'll pretty much have to have once it goes mainline default, to continue proper filesystem support anyway, so maybe md/RAID support isn't that far off after all. =:^)
Anyway, a couple labeling niggles here:
1) I sort of agree with Fri13 on the admin/root thing, altho that's pretty much what I'd think would be best, admin/root or administrator/root, given the likely audience inclusion of folks dual booting other than *ix.
2) The sector alignment setting is confusing, as it has no units label. Intuitively, I'd read that as 2048 bytes, not the least because it's a simple multiple of 1024, and thus read it as an alignment of 2048 bytes, not 2048 sectors. Knowing about 4096-byte physical sectors, I'd be almost certain to increase it to that on such hardware, and probably something well above that, maybe even 1048576, the default MS platform bytes, again, thinking it was in bytes, and ending up with 512 times that, half-gibibyte alignment! So please be sure to at /least/ have a units label. But that also leads to...
3) Choosing units of sectors is bound to be confusing as the sector size changes. Will that config mean 2048 512-byte sectors on old disks and 2048 4096-byte sectors on upcoming disks, with full 4096-byte sectors both logical and physical? What about the intermediate ones with 512-byte logical and 4096-byte physical sectors? Which does it use there?
So I'd strongly recommend that the alignment units be bytes, and that the config widget be labeled as such, to avoid any confusion, and make the resolution 512-byte increments, possibly with a note to the effect that on devices with 4096-byte physical /and/ logical sectors, it'll be rounded to the nearest 4096-byte increment.
Are there any plans to use KAuth for the operations that require root permissions instead of requiring users to run the entire application as root?
@Kevin: There was a short exchange about that in the comment thread for part 4.
I've read this series and I'm very happy about several things.
First and foremost that there's going to be a graphical tool in KDE for this kind of work (adding Duncan's wishes about LVM, etc. would be even cooler, but this ist already absolutely great). And also that you're telling us about the decisions you made about the different parts of this puzzle.
I acutally only have some reservations about the options, that are currently exposed. Not because there are options, but because some of them seem... dangerous in the hands of uninformed users.
How is your approach on educating those users? They probably never read your blog, so, do you include the necessary information on the choice about alignment or not (negative effects in case of non-alignment with modern drives) in tooltips/help/etc.? I guess you will, but this is the sole information that was missing in this blog-series. ;)
Especially this new options-dialog is able to cause much irritation. I'm always thinking about users like my father that keep doing stuff they know nothing about without stopping and learning first. :D
Frankly, I'd be for removing the backend and permissions options as I can't see any benefit, but users changing then and then filing bug reports or abandoning the program since it "doesn't work."
Are there any use cases?
It's pretty cool to see development of a KDE partition manager!
A few suggestions for the options:
- perhaps some options can be moved to a second tab?
(notably the backend and schredding features. They are advanced options)
- is the color configuration really necessary?
If I couldn't change it, I would probably be fine with it as well.
Otherwise it can probably be better changed to one color-scheme pulldown field. :-)
Thanks for this long comment, Duncan. It's great to get such detailed feedback.
The alignment spinbox indeed needs a unit suffixed. Fixed that.
Regarding using bytes (or rather KiB or MiB in this case) as unit instead of sectors I can see the benefits of doing that and also potential downsides of the current approach -- I'll think about it again.
It would require to convert from bytes to sectors using physical sector size, not logical. There currently is no way that I know of to do that easily (without signigicantly changing the application's library dependencies).
I'll look into it.
Thanks for the kind words, Jan.
You're correct, that's a problem I haven't spend enough time thinking about yet.
I had started out with a general and an advanced tab, but merged the two tabs into one because there were so few options. Maybe I'll move the backend combo and the non-admin checkbox to an advanced tab again. And I might even hide that advanced tab per default and only show it if a command line switch is present. I'll have to think about it and try out what works best.
KDE Partition Manager has a very verbose and comprehensive handbook, currently not available from the Help Menu for technical reasons (it is available on docs.kde.org. This is about to change with 1.1 as well thus the manual will be right there under the (uneducated) user's nose. Now we all know that users don't like reading manuals, but what more can you do?
Moving away (or even removing) the non-root-option and the backend-option is something worth thinking about as it's hard to argue there are valid use cases. Removing the sector alignment option just because someone might use it wrongly? I don't know.
As I said in my reply to Jan's comment above I tend to agree on with you on this. I'll probably move those to an advanced tab at least.
In version 1.0 the app did not have options so I'm maybe under-estimating the general user's inclination to use them in a wrong way...
Thanks Diederik.
See me replies to the other comments for my stance on an advanced tab: I'm all for it!
I don't think the color configuration can do any harm. Also, in comments to an earlier installment people complained they did not like the current colors.
Great work also, it's good to have an alternative to gparted and beyond.
But I have to agree with some comments: I think there is such a thing as too many options, and the color config is such an example. Have you talked to the usability guys about this?
I completely agree on the general point: Having too many options in an app is harmful.
However, I don't really see the point here. You cannot cause any damage with the color config. And it does not get in your way.
You don't see it unless you specifically request to see it.
What usability objections could there be, taking into account there are two (three, counting the new advanced tab I just committed) categories in the dialog?
Nice work!
I just don't get one point:
The label for alignment on cyclinders says "Windows XP compatible" - but in one of the last blog posts you wrote:
"Microsoft’s Windows XP still uses this scheme, but can read and deal with partition tables that are laid out differently."
So why bother mentioning "Windows XP" there when it supports non-cylinder aligned partitions just fine? It will confuse users (when I first saw this I thought that this is abolutely needed if I want to mount the partition from Windows XP)
Oh, just had another idea for improvement:
I'd group options differently together.
How about moving Alignment, File System and maybe also Schredding into a tab labeled such as "Partition Handling"?
This will make the general tab less crowded
When I wrote about the usability, I was thinking also about the colors themselves -- there might be some ideas on how to generate a better set of default colors, or reuse a smaller set of colors instead of having a unique color per fs suported, because in reality no-one is going to have more than 3 or so different filesystems.
I still don't see the usecase where someone uses a partition manager so frequently, or just stares at it so much that they say "I wish there was a config dialog where I could change those colors".
Following comments by Fri13, Duncan & mutlu on the 'Allow applying operations without adminstrator privileges' option: I would really think this should at least be severely hidden. Frankly I think tinkering with partitions and file systems is so fundamental that it should only be allowed to those with root permissions. Just recalling a few embarrassing moments from my early DOS/Windows days...
Having said that: these series of blogs are fan- & funtastic, vlanz! You might use parts of it to address Jan's request to educate users. Had I had such education when I jumped to fdisk, a long long time ago!
Well, I'm still thinking of "verbose" tooltips. They could say something like "Attention, possible problems ahead, please read handbook carefully before changing this".
But I also know that too many of these messages are ignored by exactly those users for whom they are written...
That had me worried too, Martin, but then I realized that the option isn't talking about actually allowing actions, but rather, allowing the app to try them.
IOW, if the device permissions are set properly, partition manager running as a user isn't going to be able to change anything, regardless of how that option is set, because all they'd get is a permission error if they tried. Rather, the partition manager option simply configures whether the it has the features enabled in the GUI, or whether they're dimmed out, when run as an ordinary user. It's not like the user can do anything with the partitions using partition manager that he couldn't do otherwise, using whatever other tools, or even a simple dd, directly to the device, if the permissions allow it in the first place.

