Thread View: comp.unix.internals
3 messages
3 total messages
Started by Mark Harrison
Sun, 08 Nov 1992 00:07
mmap a raw device?
Author: 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
Re: mmap a raw device?
Author: Guy Harris
Date: Mon, 09 Nov 1992 00:27
Date: Mon, 09 Nov 1992 00:27
3 lines
501 bytes
501 bytes
>Should a process be able to mmap() a raw (disk) device? Under SunOS 4.x? No, a process will not be able to do that.
Re: mmap a raw device?
Author: Thomas Gabrysch
Date: Wed, 11 Nov 1992 20:50
Date: Wed, 11 Nov 1992 20:50
9 lines
783 bytes
783 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads