Device Files ... dev directory and access
- From: black <black@xxxxxxxxxxxxxxxx>
- Date: Sat, 29 Sep 2007 18:30:00 -0500
Hi,
Just wanted to ask this question that is quite basic but not answered
properly by any of the books out there...
With the devices in the /dev/ directory, how does the access mechanism
work.
i.e., how does a user program access the device (say /dev/hda) and
write to it? What is the order of the access mechanism i.e., does the
kernel then invoke the driver for that device and determine whether an
operation for which the device has been opened by the user program is
valid or not? Please elaborate on this topic as much as you can
because it is so conflicting in most of the books that I have read.
All the crazy authors talk about how the device can be accessed and
then they don't explain anything about what happens behind the scenes.
I am curious to know what happens in detail. Your time and help is
very much appreciated. Thanks
stony
.
- Prev by Date: Re: [OT] on the matter of bloat
- Next by Date: Re: [OT] on the matter of bloat
- Previous by thread: [OT] on the matter of bloat
- Next by thread: Password Recovery
- Index(es):
Relevant Pages
|