<br><br><div class="gmail_quote">On Sun, Jul 17, 2011 at 4:10 PM, Bond <span dir="ltr"><<a href="mailto:jamesbond.2k.g@gmail.com">jamesbond.2k.g@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Jul 5, 2011 at 11:13 AM, Prashant Shah <<a href="mailto:pshah.mumbai@gmail.com">pshah.mumbai@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
</div>> On Tue, Jul 5, 2011 at 9:45 AM, Bond <<a href="mailto:jamesbond.2k.g@gmail.com">jamesbond.2k.g@gmail.com</a>> wrote:<br>
>> This is an interview question.<br>
<div class="im">>> My answer was<br>
>> In unix it simply opens the device node as a file and sends/receives<br>
>> data and commands from it.<br>
>><br>
><br>
</div>> A little more detailed method :<br>
><br>
> Userland read/write to the file -> Calls C Library read/write<br>
> functions -> Makes System Calls for read/write -> (now inside kernel)<br>
> -> Process the system calls (check parameter, etc) -> Refer the<br>
> file_operations structure for that file -> Call the corresponding<br>
> read/write function.<br>
><br>
<br>
This is not correct.If you answer this in interview which I faced as I<br>
did not get that job even you will not.<br>
The answers on this mailing list did not helped.If you would have been<br>
in the interview and given these answers it will not work.<br>
Initially I posted the question on list I was expecting I missed some<br>
thing or interviewer was blabbering more.But I gave 2-3 more<br>
interviews<br>
and all of them asked me same and I gave the answers which I learned<br>
in this thread but I was not selected.<br>
<font color="#888888"><br>
--<br></font></blockquote><div><br><br>This list is not an interview question answering mailing list. <br>Not getting selected have nothing to do with answers being right or wrong. Being selected in an interview has a lot of other factors.<br>
<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br>