How can I know what the model of my cd which I need to fill in the cdrom symlink.

nadav vinik nadavlists at
Mon Aug 7 14:23:23 PDT 2006

In the section Creating custom symlinks to devices

have example:
cat >/etc/udev/rules.d/82-cdrom.rules << EOF

# Custom CD-ROM symlinks
    ENV{ID_REVISION}=="PS05", SYMLINK+="cdrom"
    ENV{ID_SERIAL}=="5VO1306DM00190", SYMLINK+="cdrom1 dvd"


Which model should I need to fill in ENV{ID_MODEL}=="SAMSUNG_CD-ROM_SC-148F"?

Is there a list of available models?

I check in my ubuntu usev rules and there is:

# Create /dev/cdrom* symlinks for CD-ROM devices
BUS=="ide", KERNEL=="hd[a-z]|pcd[0-9]*", ACTION=="add", \
        IMPORT{program}="cdrom_id --export $tempnode"
BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", \
        IMPORT{program}="cdrom_id --export $tempnode"
ENV{ID_CDROM}=="?*",                    SYMLINK+="cdrom"
ENV{ID_CDROM_CD_RW}=="?*",              SYMLINK+="cdrw"
ENV{ID_CDROM_DVD}=="?*",                SYMLINK+="dvd"
ENV{ID_CDROM_DVD_R}=="?*",              SYMLINK+="dvdrw"

More information about the lfs-support mailing list