Subject: Re: My mails never show up ...
To: Stefan Sonnenberg-Carstens <stefan.sonnenberg@online.de>
From: Roland Dowdeswell <elric@imrryr.org>
List: tech-kern
Date: 03/22/2003 04:16:20
On 1048270129 seconds since the Beginning of the UNIX epoch
"Stefan Sonnenberg-Carstens" wrote:
>
>I followed some docs and found that a device driver (can/should) support
>these operations:
>open,close,probe,attach,read,write,ioctl - complete ?
From The Design and Implementation of the 4.4BSD Operating System[1]
pages 196-204 you find that there are two kinds of devices character
and block. They support:
Block devices:
open
strategy
close
dump
psize
Character devices:
open
close
ioctl
mmap
read
reset
select
stop
mmap
This may have changed since 4.4BSD, but it is a good starting point.
[1] Marshall K. McKusick, Keith Bostic, Michael J. Karels and
John S. Quarterman. The Design and Implementation of the
4.4BSD Operating System. Addison-Wesley Publishing Company,
1996.
--
Roland Dowdeswell http://www.Imrryr.ORG/~elric/