Cool Kernel and Filesystems

6 - ...fortunately there is an alternative

If the previous sounded a bit too much like hard work and, like me, you know that if you can't remember the process using the CDROM drive, it can't have been doing anything useful anyway:

[/usr/src/linux/drivers/block/ide-cd.h] #ifndef NO_DOOR_LOCKING #define NO_DOOR_LOCKING 1 #endif

...saves all that tedious unmounting bureaucracy.

(BTW, in the 2.3 series this useful #define has been moved to drivers/ide/ide-cd.h)


[Contents]