'eject' command ejects the cdrom. I don't know any specific API for it. Thanks Ashish -----Original Message----- From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of Yu Wang Sent: Monday, June 27, 2005 9:24 AM To: kernelnewbies@xxxxxxxxxxxx Subject: Programing the [Eject] button on CD-ROM Hi, I am currently writting a little program, which needs to use the [Eject] button on the CD-ROM. So I am just wondering if there is an API related? Any help is greatly appreciated! Yu -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/