[Hampshire] Ignoring devices

Top Page

Reply to this message
Author: Leo
Date:  
To: hampshire
Subject: [Hampshire] Ignoring devices
An external USB drive I have presents both itself and a dvd drive
(containing some windows software) when it is plugged in. I'd like to be
able to ignore the dvd drive. Googling indicates I should use the
ignore_device option in my udev rules, however this doesn't appear to
make a difference. The line in udev is:
SUBSYSTEM=="block", ENV{ID_MODEL}=="CDROM",
ENV{ID_SERIAL}=="Virtual_CDROM_0000D3118946-0:1", ENV{GENERATED}="1",
OPTIONS+="ignore_device"

Does anyone know what I'm doing wrong, or have an alternative way to
stop devices showing up?

Thanks,
Leo


--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------