<br><br><div class="gmail_quote">On Sun, Jul 17, 2011 at 4:40 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><div></div><div class="h5">On Sun, Jul 17, 2011 at 9:04 PM, Anuz Pratap Singh Tomar<br>
<<a href="mailto:chambilkethakur@gmail.com">chambilkethakur@gmail.com</a>> wrote:<br>
><br>
><br>
> On Sun, Jul 17, 2011 at 4:10 PM, Bond <<a href="mailto:jamesbond.2k.g@gmail.com">jamesbond.2k.g@gmail.com</a>> wrote:<br>
>><br>
>> On Tue, Jul 5, 2011 at 11:13 AM, Prashant Shah <<a href="mailto:pshah.mumbai@gmail.com">pshah.mumbai@gmail.com</a>><br>
>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > 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>
>> >> 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>
>> > 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>
>><br>
>> --<br>
><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.<br>
> Being selected in an interview has a lot of other factors.<br>
><br>
><br>
</div></div>Why do not you understand that this has nothing to my selection what I<br>
wanted to know is how does the app gets connected to device.And your<br>
rant does not help to understand.The answers given on this list are of<br>
very poor quality as usual.<br>
As an example you rather than answering some thing meaningful reproduced rant.<br>
</blockquote></div><br>Greg Freemyer answered your question with fine details. And the discussion that followed elaborated the point. <br>But you say all that is NOT correct? on what basis did you say that?<br><div style="" class="FL1GFc">
<div class="gs gt"><div class="gE hI"><br></div></div></div>