home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / internal / 1949 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  764 b 

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