On 6/27/05, Yu Wang <xiaohuwang@xxxxxxxxxxx> wrote: > 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? > you will want to use ioctl for this problem. take a look at the source code of "eject" program for some hints. regards, aq -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/