Re: where went /dev/kmem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 29, 2008 at 03:20:31AM -0400, Robert P. J. Day wrote:
>   following up on a short article i just read, where is /dev/kmem
> these days?  was it actually deleted?  back in 2005, jon corbet was
> certainly hinting at this:
> 
>   http://lwn.net/Articles/147901/
> 
> and i don't see it today on my system, and i don't see a kernel config
> option for it either, but i also don't see an explicit removal of that
> feature in "git log" and log entries as recent as january of last year
> still talk about it.
> 
>   so where's it at?  if anywhere.  thanks.

erik@arthur:~ > ls -l /dev/kmem
crw-r----- 1 root kmem 1, 2 2008-03-29 23:39 /dev/kmem

Udev created it for me, so there should be kernel support. I can even
read from it:

root@arthur:/tmp # dd bs=4k count=1 skip=786688 if=/dev/kmem of=kmem
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000272952 seconds, 15.0 MB/s

786688 * 4096 = 3222274048 = 0xc0100000, which according to the
System.map is startup_32.


Erik

-- 
Erik Mouw -- mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux