A final flag register controls the behavior of the CDROM drives, in order to satisfy different users' wishes, hopefully independently of the ideas of the respective author who happened to have made the drive's support available to the LINUX community. The current behavior options are:
The initial value of this register is CDOAUTOCLOSE | CDOUSEFFLAGS | CDOLOCK, reflecting my own view on user interface and software standards. Before you protest, there are two new ioctls implemented in cdrom.c, that allow you to control the behavior by software. These are: