Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128827 - sys-fs/udev-0.89-r2 (and earlier) rules using deprecated '%e' option
Summary: sys-fs/udev-0.89-r2 (and earlier) rules using deprecated '%e' option
Status: RESOLVED DUPLICATE of bug 131254
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 14:47 UTC by Paul Taylor
Modified: 2006-05-25 03:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Taylor 2006-04-04 14:47:08 UTC
At boot time, I'm getting the following warning message from udev:
   %e is deprecated, will be removed and is unlikey to work correctly. Don't use it.

Apparently %e was removed from the man page in udev-0.79, and comments in the udev-0.80 said:
   "The enumeration format character '%e' is deprecated and will be removed
    sometimes from a future udev version. It never worked correctly outside
    of udevstart, so we can't use it with the new parallel coldplug. A simple
    enumeration is as useless as the devfs naming scheme, just get rid of both
    if you still use it."

The affected rules are in /etc/udev/rules.d/50-udev.rules:
   ENV{ID_CDROM}=="?*",            SYMLINK+="cdrom%e", GROUP="cdrom"
   ENV{ID_CDROM_CD_RW}=="?*",      SYMLINK+="cdrw%e"
   ENV{ID_CDROM_DVD}=="?*",        SYMLINK+="dvd%e"
   ENV{ID_CDROM_DVD_R}=="?*",      SYMLINK+="dvdrw%e"

These probably should be changed to %n as per floppy, pktcdvd etc. devices.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-04 14:48:54 UTC

*** This bug has been marked as a duplicate of 127815 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-04 15:07:54 UTC
*** Bug 128830 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-25 03:37:36 UTC
Fixing this dupes mess...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-25 03:37:51 UTC

*** This bug has been marked as a duplicate of 131254 ***