Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77140 - hal 0.4.4 cuts cdrom volume names to 16 characters
Summary: hal 0.4.4 cuts cdrom volume names to 16 characters
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://ghepeu.altervista.org/immagini...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 08:38 UTC by Giacomo Perale
Modified: 2021-09-11 18:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
joliet label fix (hal-0.4.4-iso_label.patch,530 bytes, patch)
2005-01-08 12:35 UTC, foser (RETIRED)
Details | Diff
cdrom dump (cdrom-dump.txt,4.58 KB, text/plain)
2005-01-08 19:14 UTC, Giacomo Perale
Details
iso label patch (hal-0.4.4-iso_label.patch,1020 bytes, patch)
2005-01-09 10:42 UTC, foser (RETIRED)
Details | Diff
cdrom dump (cdrom-dump-2.txt,5.12 KB, text/plain)
2005-01-09 11:53 UTC, Giacomo Perale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Perale 2005-01-08 08:38:26 UTC
I've just upgraded to hal 0.4.4, and I noted that now mounted cd icons on desktop displays only the first 16 characters of volume name. In volume properties as well names are 16 characters long. Reverting to hal-0.4.2-r1 fixed the problem.
Comment 1 foser (RETIRED) gentoo-dev 2005-01-08 12:35:14 UTC
Created attachment 47958 [details, diff]
joliet label fix

could you try and apply this patch to the ebuild (see src_unpack for examples)
& check if it has any effect ?
Comment 2 Giacomo Perale 2005-01-08 18:41:35 UTC
I'm sorry but there were no effects, still 16 characters
Comment 3 foser (RETIRED) gentoo-dev 2005-01-08 19:09:16 UTC
attach the output of the following command : 

dd if=/dev/<cddrive> bs=1 count=4096 skip=32769 | hexdump -C

where <cddrive> is you cd device, with the cd mounted
Comment 4 Giacomo Perale 2005-01-08 19:14:37 UTC
Created attachment 47990 [details]
cdrom dump
Comment 5 foser (RETIRED) gentoo-dev 2005-01-09 05:03:41 UTC
well it's quite obvious now : it uses the second label, which uses 2 bytes per char, so you get only 16 chars total.
Comment 6 foser (RETIRED) gentoo-dev 2005-01-09 10:42:03 UTC
Created attachment 48034 [details, diff]
iso label patch

here's another patch, it's not very pretty but i think it works. Please test.
Comment 7 Giacomo Perale 2005-01-09 11:53:22 UTC
Created attachment 48036 [details]
cdrom dump

applying this patch everything works, with cdrom where second label is better
than the first one as well. thank you.
Comment 8 foser (RETIRED) gentoo-dev 2005-01-12 06:56:30 UTC
ok patch added to 0.4.4-r1, thanks for the report & testing.