🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7370

Strange behaviour of /dev/mem

#7370
From: Mark Bush
Date: Tue, 02 Apr 1991 15:00
18 lines
1276 bytes
The manual page (SunOS4.1.1) for mem(4S) says:

  All Systems
     mem is a special file that  is  an  image  of  the  physical
     memory  of  the  computer.   It may be used, for example, to
     examine (and even to patch) the system.

On the Sun4 and Sun3 systems here, the result of `wc < /dev/mem' gives the
size of physical memory (sometimes a small number of whole kbytes short).
This is also true of SS2s.

However, on SLC, IPC and SS1+ machines here, the result is always exactly
4Meg regardless of the amount of physical memory the machines have!

I can't find anything in the manuals to explain this behaviour.  Anyone
able to explain why /dev/mem falls short on these machines?

Mark
Technical Details
Message-ID: <2302@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: Mark.Bush@prg.oxford.ac.uk (Mark Bush)
Newsgroups: comp.sys.sun
Subject: Strange behaviour of /dev/mem
Keywords: Miscellaneous
Message-ID: <2302@brchh104.bnr.ca>
Date: 2 Apr 91 15:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Original-Date: 2 Apr 91 00:44:37 GMT
X-Sun-Spots-Digest: Volume 10, Issue 75, message 23
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu