Re: Info about /dev/kmem required

Frank Neuber
2001-08-20T18:37:41Z

On Fri, Aug 17, 2001 at 05:57:39PM -0400, Erik Mouw wrote:
> On Fri, Aug 17, 2001 at 07:29:08PM +0530, Milind wrote:
> > I wanted some info about ' /dev/kmem ' file with respect to following
> >
> > 1) What this file contains?
>
> >From Documentation/devices.txt:
>
> 1 char Memory devices
> 1 = /dev/mem Physical memory access
> 2 = /dev/kmem Kernel virtual memory access
>
> > 2) Who writes into this file?
>
> Normally nobody does, though it can be used to patch up a running
> system (in theory).
>
> > Reply at the earliest.
>
> I'm sorry, we're not a helpdesk.

I think You can use /dev/kmem as an corefile for gdb. So it is possible to debug
the linux kernel (of course read only :-)).

Frank
--
Dipl.-Ing. Elektrotechnik convergence integrated media gmbh / HW
Frank Neuber Rosenthalerstr.51 / 10178 Berlin
Email: neuber@convergence.de Phone: +49(0)30-72 62 06 50
WWW: www.convergence.de Fax: +49(0)30-72 62 06 55