Article View: comp.unix.internals
Article #1452mmap a raw device?
From: Mark Harrison
Date: Sun, 08 Nov 1992 00:07
Date: Sun, 08 Nov 1992 00:07
12 lines
970 bytes
970 bytes
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. A colleague's preliminary tests indicate that it won't work. SunOS 4.something, if it makes a difference. -- ------------------------------------------------------------------------ "Hi, this is Captain Kirk. I can't | Mark Harrison harrison@jho.com answer my communicator right now..."| Richardson, TX (214)669-2853
Technical Details
Message-ID:
<1992Nov08.000752.2030@jho.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!jho!harrisonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!jho!harrison From: harrison@jho.com (Mark Harrison) Newsgroups: comp.unix.internals Subject: mmap a raw device? Message-ID: <1992Nov08.000752.2030@jho.com> Date: 8 Nov 92 00:07:52 GMT Organization: Software Programming, Inc., Dallas, Texas USA Lines: 12