Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92766 - udev-056: add a MINIMAL_LINKS option to cdsymlinks.sh
Summary: udev-056: add a MINIMAL_LINKS option to cdsymlinks.sh
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 23:34 UTC by Ivan Todoroski
Modified: 2005-05-20 14:35 UTC (History)
0 users

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


Attachments
the MINIMAL_LINKS patch (udev-min-cdsymlinks.patch,2.91 KB, patch)
2005-05-15 23:35 UTC, Ivan Todoroski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Todoroski 2005-05-15 23:34:03 UTC
This patch adds a MINIMAL_LINKS option in /etc/udev/cdsymlinks.conf, which causes /etc/udev/scripts/cdsymlinks.sh to minimize the number of additional links it generates for each optical drive.

For example, if you have a CD-ROM, DVD-ROM and a DVD-RW device, cdsymlinks.sh will create 3 /dev/cdrom links, 2 /dev/dvd links, and one /dev/dvdrw link, which is not always desirable. Your CD-ROM can become either /dev/cdrom, /dev/cdrom1 or /dev/cdrom2, depending on device scanning order, which can be confusing.

Enabling MINIMAL_LINKS=1 will cause exactly one /dev/cdrom, one /dev/dvd and one /dev/dvdrw link to be created for each device respectively.

Default behaviour is unchanged, users will have to uncomment this option to activate it.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ivan Todoroski 2005-05-15 23:35:07 UTC
Created attachment 58983 [details, diff]
the MINIMAL_LINKS patch
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-05-20 14:35:58 UTC
Please work with the upstream author of the cdsymlinks program to get this
merged with his latest changes.  Then they can be accepted into the main udev
release.