Written by CallousCrab the 28 Feb 08 at 23:59.
Category: System.
Related project:
Nothing/Others.
Status: New
Rationale
Can all USB/other media which are mounted get a permanent name by default? If a user plugs in a USB hard-drive, he should not have to figure out what the name of the hard-drive is (disk, disk-1 etc). Currently depending on how many drives are connected and the connection order, a USB drive can get different names everyday. If the name is set for a drive (using the /dev/by_uuid/ entry in fstab), it would be much easier for a user to use multiple external drives.
Also, changing names for drives etc should be allowed through a simple rename function (by pressing F2?).
On my system, GNOME automounts by filesystem label. This, the name you give the partition is what you get. That seems like what you're asking for, so I'm not sure what behaviour you're seeing that's different from this?
I have multiple external hard-drives and USB drives. Depending on the order of connection, Ubuntu gives out names like - disk, disk-1 etc. If the order is changed, drive A called disk before could be called disk-2 now. If you have songs on this drive for example, rhythmbox won't find the songs since it stores the drive name in its library.
I had to fix this issue by creating an alias in /etc/fstab based on the uuid of the drive.
I am proposing that this happen automagically - the user could specify a name the first time the drive is connected and this could get stored.