mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: prasanna panchamukhi <pprasanna_2000@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Magic numner of /dev/mem
Date: Tue, 8 Apr 2003 09:58:09 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0304080952100.23087@chaos> (raw)
In-Reply-To: <20030408133514.12649.qmail@web21404.mail.yahoo.com>

On Tue, 8 Apr 2003, prasanna panchamukhi wrote:

> Hi,
>
> I have a few questions on /dev/mem
>
> 1.Is the magic no of /dev/mem is static or dynamic for
> a specific architecture.
> 2.If it is static/Dynamic why?
> 3. How it is determined?
> 3.Where do we use it?
>
> Thanks in advance...
>
> Regards
> Prasanna S P.

/dev/mem is not a "file" so it doesn't have a magic number. It
is a device that creates a "window" into all the mapped memory
pages in the system.

If you were to read /dev/mem (just do `strings /dev/mem` from
the root account), you will read the contents of physical memory.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


      reply	other threads:[~2003-04-08 13:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 13:35 prasanna panchamukhi
2003-04-08 13:58 ` Richard B. Johnson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.53.0304080952100.23087@chaos \
    --to=root@chaos.analogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pprasanna_2000@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®