Brett W. McCoy wrote: > On 9/3/07, Srikanth M R <[EMAIL PROTECTED]> 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 > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi
Depending on the OS, retrieving the source code for tools can be done through the usual OS updating mechanism (apt-get, yum, etc.) - just with different command-line options. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
