Re: interview question how does application connects to device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 17, 2011 at 9:04 PM, Anuz Pratap Singh Tomar
<chambilkethakur@xxxxxxxxx> wrote:
>
>
> On Sun, Jul 17, 2011 at 4:10 PM, Bond <jamesbond.2k.g@xxxxxxxxx> wrote:
>>
>> On Tue, Jul 5, 2011 at 11:13 AM, Prashant Shah <pshah.mumbai@xxxxxxxxx>
>> wrote:
>> > Hi,
>> >
>> > On Tue, Jul 5, 2011 at 9:45 AM, Bond <jamesbond.2k.g@xxxxxxxxx> wrote:
>> >> This is an interview question.
>> >> My answer was
>> >> In unix it simply opens the device node as a file and sends/receives
>> >> data and commands from it.
>> >>
>> >
>> > A little more detailed method :
>> >
>> > Userland read/write to the file -> Calls C Library read/write
>> > functions -> Makes System Calls for read/write -> (now inside kernel)
>> > -> Process the system calls (check parameter, etc) -> Refer the
>> > file_operations structure for that file -> Call the corresponding
>> > read/write function.
>> >
>>
>> This is not correct.If you answer this in interview which I faced as I
>> did not get that job even you will not.
>> The answers on this mailing list did not helped.If you would have been
>> in the interview and given these answers it will not work.
>> Initially I posted the question on list I was expecting I missed some
>> thing or interviewer was blabbering more.But I gave 2-3 more
>> interviews
>> and all of them asked me same and I gave the answers which I learned
>> in this thread but I was not selected.
>>
>> --
>
>
> This list is not an interview question answering mailing list.
> Not getting selected have nothing to do with answers being right or wrong.
> Being selected in an interview has a lot of other factors.
>
>
Why do not you understand that this has nothing to my selection what I
wanted to know is how does the app gets connected to device.And your
rant does not help to understand.The answers given on this list are of
very poor quality as usual.
As an example you rather than answering some thing meaningful reproduced rant.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux