Re: floppy/cd eject on unmount behavior

H. Peter Anvin (hpa@transmeta.com)
11 Dec 1998 19:56:51 GMT


Followup to: <Pine.LNX.3.96.981210122850.438A-100000@zaphod.cgmlarson.com>
By author: "Pat St. Jean" <psj@cgmlarson.com>
In newsgroup: linux.dev.kernel
>
> Hey folks,
> Why not do it in reverse? I'm reasonably sure that CD-ROM drives will
> lock the tray. Why not, when that is available, lock it on mount, and do
> an unlock + eject on umount?
> I know it isn't an ideal solution, but it works with hardware that
> exists...
>

We do lock on mount. Most people don't want to have the tray
auto-ejected on umount (it was a common complaint with some early Linux
CD-ROM drivers), so we don't.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/