Bug 157626

Summary: DVD-RAM is mounted to /media/disk
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stanislav Brabec <sbrabec>
Component: GNOMEAssignee: Danny Kukawka <dkukawka>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: lnussel, marc.collin, suse-beta
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: lshal.txt
patch to substitute strange characters instead of rejecting them

Description Stanislav Brabec 2006-03-13 16:29:54 UTC
After inserting of DVD-RAM, the medium is mounted to /media/disk. It is not very intuitive.

The DVD-RAM is a multisession medium, all sessions have a label.

Expected result:
Mount point /media/dvdram or /media/{media_label with spaces replaced with _}
Comment 1 Stanislav Brabec 2006-03-13 16:31:49 UTC
Created attachment 72600 [details]
lshal.txt

Output of lshal.
Comment 2 JP Rosevear 2006-03-13 20:46:56 UTC
This is handled by the hal mounting scripts.
Comment 3 Kay Sievers 2006-03-14 15:36:56 UTC
This version of HAL does not handle mountpoints with spaces and falls back to "disk".
Comment 4 Stanislav Brabec 2006-03-14 16:16:43 UTC
Version in 10.0 replaced " " by "_".
Comment 5 Ludwig Nussel 2006-03-15 15:32:01 UTC
Created attachment 73043 [details]
patch to substitute strange characters instead of rejecting them

I already suggested a patch like this upstream. It resulted in the mount script rewritten in C with no sanitizing at all.
Comment 6 Marc collin 2006-04-02 03:22:33 UTC
with beta 9, suse don't add anything for my dvd-ram to fstab file....
i need to add the correct line....

also, only root seem to have access to media
Comment 7 Stanislav Brabec 2006-04-03 09:51:06 UTC
fstab is no more modified in SuSE Linux 10.1. For automounting use GNOME, KDE or ivman.
Comment 8 Stanislav Brabec 2006-04-04 11:25:18 UTC
Danny. i guess it is simple to fix. Confirming, that the attached patch fixes this problem.

And a small packaging issue: scripts should go to libexecdir and /usr/lib/hal/scripts - see bug 62050 comment 3.
Comment 9 Danny Al-Gaaf 2006-04-05 14:34:20 UTC
added the patch and changed libexecdir ... submitted a new package