"Brett W. McCoy" <[EMAIL PROTECTED]> wrote: On 9/3/07, Srikanth M R wrote:
> If i were looking for the code that does the same
> operation in linux(since it's opensource), where would
> i be searching
>
> I am asking this because, I have been trying to read
> some open source code and often become a victim of
> what-does-what. I am unable to locate the specific
> code that i want to view.
>
> What interests me more is the way my software commands
> hardware( I couldn't be make it any simpler).
> Implementation stuff excites me a lot.
What have you looked at? There is a Linux command-line tool called
'eject' that does one thing: it ejects the cd-rom tray. You should be
able to track down the source code pretty easily Doing this is left as
an exercise for the reader.
-- Brett
Very easily :D
``strace eject''
shows the right ioctl to use.
Ain't I wicked?
Regards,
Mohan S N
---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
[Non-text portions of this message have been removed]