Auto-detection of partition and optical drive changes

Registered by Kyromaster

Currently the fstab is written one time on install and then never updated. If the user changes the partition layout or optical drives he has to change the fstab by hand, which is not acceptable for new users.
There should be a program that searches for changes every boot and updates the fstab if needed.
If a device/partition is removed the entry should be removed. If the partition is moved (but the UID is the same) the mountpoint should be adjusted. And for new partitions/devices the entries should be created.
This way the user can change the system configuration without having to adjust the fstab by hand. Since removable drives aren't managed by fstab this doesn't apply for them.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Maybe the way to do this is to create a meta-fstab file, containing rules that would manage your fstab, your disks' mount points, features, permissions, and so on in much the same way that udev does for your /dev tree. Ubuntu could ship with sensible defaults, and advanced users would still be able to customize its behavior.

A gui would be nice, too, but I'd just like to be able to plug in a new internal hard drive and watch it Just Work.

== Just Works ==
Seems to me that for many releases now, when I plug in a device like a USB flash drive, it "just works"..

As for a proper fstab editor, I think this blueprint should be referenced: https://blueprints.launchpad.net/ubuntu/+spec/fstab-gui
--Dawning

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.