Re: /proc files, mmap fails!

Chris Wedgwood (cw@ix.net.nz)
Sat, 21 Nov 1998 09:48:43 +1300


On Thu, Nov 19, 1998 at 06:19:29PM -0800, bkumares wrote:

> I tried to mmap a file in /proc. It failed with errorno as 19,
> ENODEV I guess.

Which file -- I'm fairly sure you can mmap some file in /proc (such
as kmem). I think some Xservers may do this...

> I would like to know if there are plans to support mmap for /proc
> files or is already available in newer releases.

Which file are you trying to mmap? DOSemu also does/did this which
caused problems when pages mapped to /proc/<n>/mem were swapped
out...

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/