MEM(7) INTERACTIVE UNIX System MEM(7)
NAME
mem, kmem - core memory
DESCRIPTION
The file /dev/mem is a special file that is an image of the
core memory of the computer. It may be used, for example,
to examine, and even to patch the system.
Byte addresses in /dev/mem are interpreted as memory
addresses. References to nonexistent locations cause errors
to be returned.
Examining and patching device registers is likely to lead to
unexpected results when read-only or write-only bits are
present.
The file /dev/kmem is the same as /dev/mem except that ker-
nel virtual memory rather than physical memory is accessed.
I/O is not memory mapped, and the per-process data begins at
virtual address 0xE0000000.
FILES
/dev/mem
/dev/kmem
WARNING
Some of /dev/kmem cannot be read because of write-only
addresses or unequipped memory addresses.
Rev. Page 1