I just tested it again, and the ioctl was actually a red herring. The
tray already gets closed when merely opening the device:

- open CD tray
- head < /dev/scd0
  bash: /dev/scd0: No medium found

** Summary changed:

- CDROM_DRIVE_STATUS ioctl causes tray to be closed
+ opening /dev/scd0 causes tray to be closed

-- 
opening /dev/scd0 causes tray to be closed
https://bugs.launchpad.net/bugs/283316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to