GNOME Bugzilla – Bug 105949
All media labels being converted to lowercase on Format
Last modified: 2004-12-22 21:47:04 UTC
1) Insert a zip media. 2) Select zip icon on backdrop, right click and chose Format. 3) Chose UFS as filesystem and using all capital letters enter a media label .e.g. 'ZIP'. After the disk has completed formating, zip icon appears on backdrop with label 'zip'. Uppercase letters have been converted to lowercase. Is also the case with floppy media.
When a floppy/ZIP media is formatted with Uppercase label, the icon shown for it on the desktop was showing lowercase label. Similarly, when a CDROM with uppercase label is inserted, the icon's label on the nautilus desktop is in lowercase. This is because, nautilus was using mount point to get the label for media icon. And mount point is always in lowercase, irrespective of the case of the volume name. So the desktop icon for any media was shown in lowercase. Solution: - For UFS/UDFS(solaris volume labels), using VTOC structure or labelit get the real volume name and show it as the label for the desktop media icon. - For HSFS file system also, using labelit, get the real volume name and show it as the label for desktop icon. - For DOS volumes(PCFS/NEC DOS), there is no way to get real volume name. So we still depend on the mount point to give label to the icon. So for DOS volumes, label for nautilus icon will still be in lowecase, eventhough the media is given a uppercase name. I will attach a patch which fixes the problem. But this patch depends on other removable media manager related nautilus patches pending in bugs: 90942 and 90928.
Created attachment 14286 [details] [review] Proposed patch to fix the problem of lowercase labels for the media icons.
Is this still relevant?
Yeah. This is still relavent. This is a Solaris specific patch for removable media manager.
This patch is specific to removable media on Solaris. Since volume manager code is moved to gnome-vfs, this patch will not apply anymore on HEAD. It needs to be re-created.
Closing the bug as it does not apply anymore on HEAD, as volume manager code has changed. Will raise a new bug if this patch is required for Solaris running HEAD/2.6