Bug 157626 - DVD-RAM is mounted to /media/disk
Summary: DVD-RAM is mounted to /media/disk
Status: VERIFIED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 7
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Danny Kukawka
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-13 16:29 UTC by Stanislav Brabec
Modified: 2007-06-05 11:04 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
lshal.txt (106.45 KB, text/plain)
2006-03-13 16:31 UTC, Stanislav Brabec
Details
patch to substitute strange characters instead of rejecting them (1.68 KB, patch)
2006-03-15 15:32 UTC, Ludwig Nussel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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