if is not possible to query first the locked state with eject -i and if locked dont eject in the udev rule? i know it require eject as a additional dependency, but it will be nice.
other approach is to give users a other way with udev to prevent cdrom eject... -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to eject in Ubuntu. https://bugs.launchpad.net/bugs/885051 Title: eject -i no longer works Status in eject package in Ubuntu: Confirmed Status in udev package in Ubuntu: New Bug description: I used to run eject -i 1 to lock my cd-rom, but it stopped working after upgrading to 11.10. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: eject 2.1.5+deb1+cvs20081104-8 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 ApportVersion: 1.23-0ubuntu4 Architecture: amd64 Date: Tue Nov 1 23:26:38 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: eject UpgradeStatus: Upgraded to oneiric on 2011-11-02 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eject/+bug/885051/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp