<br><br><div class="gmail_quote">On Sun, Jul 17, 2011 at 4:10 PM, Bond <span dir="ltr">&lt;<a href="mailto:jamesbond.2k.g@gmail.com">jamesbond.2k.g@gmail.com</a>&gt;</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 &lt;<a href="mailto:pshah.mumbai@gmail.com">pshah.mumbai@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
</div>&gt; On Tue, Jul 5, 2011 at 9:45 AM, Bond &lt;<a href="mailto:jamesbond.2k.g@gmail.com">jamesbond.2k.g@gmail.com</a>&gt; wrote:<br>
&gt;&gt; This is an interview question.<br>
<div class="im">&gt;&gt; My answer was<br>
&gt;&gt; In unix it simply opens the device node as a file and sends/receives<br>
&gt;&gt; data and commands from it.<br>
&gt;&gt;<br>
&gt;<br>
</div>&gt; A little more detailed method :<br>
&gt;<br>
&gt; Userland read/write to the file -&gt; Calls C Library read/write<br>
&gt; functions -&gt; Makes System Calls for read/write -&gt; (now inside kernel)<br>
&gt; -&gt; Process the system calls (check parameter, etc) -&gt; Refer the<br>
&gt; file_operations structure for that file -&gt; Call the corresponding<br>
&gt; read/write function.<br>
&gt;<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>