After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 105949 - All media labels being converted to lowercase on Format
All media labels being converted to lowercase on Format
Status: RESOLVED INVALID
Product: nautilus
Classification: Core
Component: File and Folder Operations
unspecified
Other opensolaris
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 90928 90942
Blocks:
 
 
Reported: 2003-02-13 05:14 UTC by Narayana Pattipati
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch to fix the problem of lowercase labels for the media icons. (6.93 KB, patch)
2003-02-13 05:49 UTC, Narayana Pattipati
none Details | Review

Description Narayana Pattipati 2003-02-13 05:14:59 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.
Comment 1 Narayana Pattipati 2003-02-13 05:45:17 UTC
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. 
Comment 2 Narayana Pattipati 2003-02-13 05:49:11 UTC
Created attachment 14286 [details] [review]
Proposed patch to fix the problem of lowercase labels for the media icons.
Comment 3 Kjartan Maraas 2003-10-30 22:39:46 UTC
Is this still relevant?
Comment 4 Narayana Pattipati 2003-11-12 09:22:06 UTC
Yeah. This is still relavent. This is a Solaris specific patch for
removable media manager.
Comment 5 Narayana Pattipati 2004-02-10 16:04:38 UTC
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.
Comment 6 Narayana Pattipati 2004-02-21 07:46:14 UTC
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