> 'eject' command ejects the cdrom. > I don't know any specific API for it. Thank for the hint. I know the 'eject' command, but currently what I want to do is not related to eject. I just want to make use of the [Eject] button on the CD-ROM. Yu -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/