Re: floppy/cd eject on unmount behavior

Antonio M. Trindade (trindade@student.dei.uc.pt)
Mon, 14 Dec 1998 14:05:28 +0000 (WET)


On 11 Dec 1998, H. Peter Anvin wrote:

>
> 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.
>

This could be configured through the sysctl method. It would only need
a file called cdautoeject (or something like that). If the user wanted to
do auto ejection on umount, it would do an echo yes > /proc/kernel/cdautoeject
on bootup.

Regards,
Antonio Trindade.

/---------------------------------------------------------------------------\
|Linux RuleZ Linux RuleZ Linux R| F.C.T. da Universidade de Coimbra |
|ux RuleZ Linux RuleZ Linux Rule| Antonio Miguel Ferreira Marques Trindade |
|-------------------------------| PGP Public key available by finger |
|Jean-Michel Jarre is very cool!| Coimbra, PORTUGAL |
|---------------------------------------------------------------------------|
| E-mail address: trindade@student.dei.uc.pt |S/2 OS/2 OS/2 OS/2 OS/2 OS/2 O|
\---------------------------------------------------------------------------/

-
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/