home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!asuvax!ennews!mcdphx!mcspdx!adpgate!gab
- From: gab@adpgate.UUCP (Thomas Gabrysch)
- Newsgroups: comp.unix.internals
- Subject: Re: mmap a raw device?
- Message-ID: <1743@adpplz.UUCP>
- Date: 11 Nov 92 20:50:48 GMT
- References: <1992Nov08.000752.2030@jho.com>
- Organization: ADP Dealer Services R&D, Portland, OR
- Lines: 9
-
- harrison@jho.com (Mark Harrison) writes:
- : Should a process be able to mmap() a raw (disk) device? The
- : example in the manual shows that an error will occur on mmap()ing
- : to a terminal, for example, but I can't find a definitive
- : reference on whether it will or won't work on a raw device.
-
- According to the source code you can only mmap regular files.
-
- - Thomas Gabrysch
-