KernelNewbies:

Here is how the kmem can be statically created:

/dev/mem is typically created by:

The file kmem is the same as mem, except that the kernel virtual memory rather than physical memory is accessed. /dev/kmem is typically created by:

/dev/port is similar to mem, but the I/O ports are accessed. It is typically created by:

Here is the description on the difference between kmem and mem.

http://lwn.net/Articles/147902/

KernelNewbies: FAQ/devkmem (last edited 2021-01-12 06:38:58 by RandyDunlap)