Bug 8349 - Hal should provide /media/cdrom symlink
Summary: Hal should provide /media/cdrom symlink
Status: NEW
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL: http://www.pathname.com/fhs/pub/fhs-2...
Depends on:
Reported: 2006-09-18 23:36 UTC by n0dalus
Modified: 2013-03-15 14:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description n0dalus 2006-09-18 23:36:12 UTC
According to the Filesystem Hierarchy Standard, certain directories/symlinks
need to be in /media depending on the available hardware.

From the standard (http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT):

"The following directories, or symbolic links to directories, must be in /media,
if the corresponding subsystem is installed:

Directory	Description
floppy	Floppy drive (optional)
cdrom	CD-ROM drive (optional)
cdrecorder	CD writer (optional)
zip	Zip drive (optional)

On systems where more than one device exists for mounting a certain type of
media, mount directories can be created by appending a digit to the name of
those available above starting with '0', but the unqualified name must also exist."

The section is not listed as optional, and while the '(optional)' after the
devices listed is slightly ambiguous, I think the only consistent interpretation
is that the devices themselves are optional, but the symlinks/directories are
not if those devices are available (note the "must" keyword in the first sentence).

This means that if HAL mounts a cdrom at /media/cdrom_label it must also provide
a /media/cdrom symlink to that.

I understand that using /media/cdrom is not the preffered way of doing things,
and that it can cause problems in certain situations, but I think it's important
to respect standards (various multi-cd installers break with the current hal
behaviour). If you would like to inform people of a better way of using cdrom
mount points (using HAL), then freedesktop.org should have a spec recommending
this (not sure if it does already).
Comment 1 chemtech 2013-03-15 14:21:25 UTC
Do you still experience this issue with newer soft ?
Please check the status of your issue.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.