bug: cd-rom autoclose no longer works in 2.6.9/2.6.10
Hello.
CD-ROM autoclose stopped working for me quite some time ago. I used to type only "mount /mnt/cdrom" and that took care about closing, but now I am getting this:
---
$ mount /mnt/cdrom mount: No medium found --- so I have to do "eject -t" first. I can reproduce this problem on 2 completely different machines, so I don't think this have something to do with the particular hardware. The configuration haven't changed either:
$ cat /proc/sys/dev/cdrom/autoclose 1
$ cat /proc/sys/dev/cdrom/info CD-ROM information, Id: cdrom.c 3.20 2003/12/17
drive name: hdd drive speed: 50 drive # of slots: 1 Can close tray: 1 Can open tray: 1 Can lock tray: 1 Can change speed: 1 Can select disk: 0 Can read multisession: 1 Can read MCN: 1 Reports media changed: 1 Can play audio: 1 Can write CD-R: 0 Can write CD-RW: 0 Can read DVD: 0 Can write DVD-R: 0 Can write DVD-RAM: 0 Can read MRW: 1 Can write MRW: 1 Can write RAM: 1
Hi Stas,
Does
cat /proc/sys/dev/cdrom/autoclose
return 1 or 0 ?
Quoted 43 lines · Stas Sergeev
Hello.
CD-ROM autoclose stopped working for
me quite some time ago. I used to type only "mount/mnt/cdrom" and that took care about closing, but now I am getting this:
---$ mount /mnt/cdrom mount: No medium found --- so I have to do "eject -t" first. I can reproduce this problem on 2 completely different machines, so I don't think this have something to do with the particular hardware. The configuration haven't changed either:$ cat /proc/sys/dev/cdrom/autoclose 1$ cat /proc/sys/dev/cdrom/info CD-ROM information, Id: cdrom.c 3.20 2003/12/17drive name: hdd drive speed: 50 drive # of slots: 1 Can close tray: 1 Can open tray: 1 Can lock tray: 1 Can change speed: 1 Can select disk: 0 Can read multisession: 1 Can read MCN: 1 Reports media changed: 1 Can play audio: 1 Can write CD-R: 0 Can write CD-RW: 0 Can read DVD: 0 Can write DVD-R: 0 Can write DVD-RAM: 0 Can read MRW: 1 Can write MRW: 1 Can write RAM: 1