> I'm curious what happens when you unmount/eject the disc, turn off
> automounting, insert a new disc, then mount it manually with mount(8). Is the
> door the locked?
Right, I forgot to mention this previously, but I tested it when writing the
patch. It seems that mount() re-locks the tray, so unlike
/proc/sys/dev/cdrom/lock
the ioctl isn't "sticky" and needs to be re-issued after mounting.
(In reply to comment #15)
> I'm curious what happens when you unmount/eject the disc, turn off
> automounting, insert a new disc, then mount it manually with mount(8). Is the
> door the locked?
Right, I forgot to mention this previously, but I tested it when writing the dev/cdrom/ lock
patch. It seems that mount() re-locks the tray, so unlike
/proc/sys/
the ioctl isn't "sticky" and needs to be re-issued after mounting.