Summary

This specification is for a usable and functional disks manager applet located at System->Administration->Disks

Rationale

The current Disks applet lacks a significant amount of functionality one would expect. There is currently no way to check a disk for errors by running fsck short of jumping into the terminal and reading a bunch of man pages.

There is also no way to easily configure the various parts of fstab using the tool, such as mount options, the mount point, and access defaults. Strangely, the disks setup program on the Install CD is more functional. Worryingly, there is still no way to setup an NTFS drive for browsing by the user.

Use Cases

Scope

This specification covers feature specifications for the Disks manager applet.

Design

Frontend for fsck

On the partitions tab of the disks manager applet there should be a button to check for errors. In the short term, this could simply launch a terminal running fsck, however an ideal replacement would be a graphical interface. The interface should also make clear that the disk needs to be unmounted to be properly checked.

Configuring fstab easily

Mount options need to be configurable somewhere with a button and a list of checkboxes in the applet. Which mount options are impossible (such as write support for NTFS) should also be made clear to the user, such as by greying them out and providing an explanatory dialog in the interface. Reasonable defaults, such as user read/writable, must also be suggested.

Proper care needs to be given to ensure that mounted volumes also enjoy proper support for different language character sets. Options such as iocharset=utf8,codepage=850 should be enabled more easily, if not by default.

Furthermore, a dangerous change to fstab should prohibited. Ideally, this would be done by simulating a boot sequence. This isn't foolproof, but we could certainly check that root is mountable, read-writable, and there are no spelling mistakes which screw up booting. The order of LVM and RAID initialisation is sensitive, and should be checked. Will the root volume be available for booting after a new PV is added on a USB disk? This is perhaps a deeper problem, but we can catch major errors at this level.

Functional browse button

The following bug should also be fixed: http://bugzilla.ubuntu.com/show_bug.cgi?id=17049

A nautilus window opened by the disks manager should never have root permissions. The browse button should be disabled if the active user does not have permission to browse the drive. However, it must also be possible for a drive created with the applet to be configured to be browsable by the user.

Virtual and network drives

There must also be awareness of virtual drives mounted via NFS and SMB. While the disks manager might not be the most intuitive place to configure them or set them up (and we do need one), at the very least it shouldn't break any mounted smbfs or nfs filesystem. Listing them as mounted filesystems (with many of the options greyed out) probably won't hurt.

Documentation

Each feature of the applet, including the new ones, will require complete documentation and contextual help. Documentation and contextual help should also give a brief overview of the types of filesystems Ubuntu supports (particularly the status of Windows file systems), as well as link to the documentation on partitioning in general.

Implementation

Outstanding Issues

This system tool currently has no documentation at all!

BoF agenda and discussion


CategorySpec

UsefulDisksManagerSpec (last edited 2008-08-06 16:17:04 by localhost)