All of lore.kernel.org
 help / color / mirror / Atom feed
From: chambilkethakur@gmail.com (Anuz Pratap Singh Tomar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: interview question how does application connects to device
Date: Sun, 17 Jul 2011 16:47:56 +0100	[thread overview]
Message-ID: <CAJnfX5uwCAWn8qxjOYaY5UT4sVKFtqsXasixrdeS8ND+5R-7kw@mail.gmail.com> (raw)
In-Reply-To: <CAOQuo6PABoy9_HwMuA9Oh+HYyxM+_Aafiu9jBPBSGJNwKh5ydw@mail.gmail.com>

On Sun, Jul 17, 2011 at 4:40 PM, Bond <jamesbond.2k.g@gmail.com> wrote:

> On Sun, Jul 17, 2011 at 9:04 PM, Anuz Pratap Singh Tomar
> <chambilkethakur@gmail.com> wrote:
> >
> >
> > On Sun, Jul 17, 2011 at 4:10 PM, Bond <jamesbond.2k.g@gmail.com> wrote:
> >>
> >> On Tue, Jul 5, 2011 at 11:13 AM, Prashant Shah <pshah.mumbai@gmail.com>
> >> wrote:
> >> > Hi,
> >> >
> >> > On Tue, Jul 5, 2011 at 9:45 AM, Bond <jamesbond.2k.g@gmail.com>
> 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.
>

Greg Freemyer answered your question with fine details. And the discussion
that followed elaborated the point.
But you say all that is NOT correct? on what basis did you say that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110717/9fd3cf40/attachment-0001.html 

  reply	other threads:[~2011-07-17 15:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOQuo6Nf9-uXBbHOi1_tpBmBOVPzuBtW699=ywDGSsfT_NVphA@mail.gmail.com>
2011-07-05  4:15 ` interview question how does application connects to device Bond
2011-07-05  5:43   ` Prashant Shah
2011-07-17 15:10     ` Bond
2011-07-17 15:34       ` Anuz Pratap Singh Tomar
2011-07-17 15:40         ` Bond
2011-07-17 15:47           ` Anuz Pratap Singh Tomar [this message]
2011-07-17 15:52             ` Bond
2011-07-17 16:06               ` Mulyadi Santosa
2011-07-17 17:34                 ` Bond
2011-07-17 17:49                   ` Anuz Pratap Singh Tomar
2011-07-17 19:25                   ` Greg Freemyer
2011-07-17 16:14               ` Anuz Pratap Singh Tomar
2011-07-17 17:31                 ` Bond
2011-07-05  6:51   ` Philipp Ittershagen
2011-07-05  6:59     ` Paraneetharan Chandrasekaran
2011-07-05  7:28       ` Mandeep Sandhu
2011-07-05  7:31         ` Mandeep Sandhu
2011-07-05  7:51           ` Abhijit Pawar
2011-07-05  8:12             ` er krishna
2011-07-05  9:13               ` Mandeep Sandhu
2011-07-05  9:38                 ` er krishna
2011-07-05 12:56   ` Greg Freemyer
2011-07-05 13:43     ` Mandeep Sandhu
2011-07-05 16:03       ` Greg Freemyer
2011-07-06  4:08         ` Abhijit Pawar
2011-07-06  4:43           ` Prashant Shah
2011-07-06  5:27             ` Abhijit Pawar
2011-07-11 17:43         ` StephanT
2011-07-11 18:13           ` Greg KH
2011-07-11 18:14           ` Greg Freemyer
     [not found]       ` <769A0B32-0869-4A2B-A005-D6AC0376D1E3@gmail.com>
2011-07-06  5:12         ` Mandeep Sandhu
2011-07-06 23:29           ` Javier Martinez Canillas
2011-07-07  3:20             ` Greg Freemyer
2011-07-07 12:51               ` Javier Martinez Canillas
2011-07-05 13:36   ` Shaz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJnfX5uwCAWn8qxjOYaY5UT4sVKFtqsXasixrdeS8ND+5R-7kw@mail.gmail.com \
    --to=chambilkethakur@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.