🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7549

Re: Strange behaviour of /dev/mem

#7549
From: Glenn Herteg
Date: Wed, 24 Apr 1991 00:00
11 lines
1116 bytes
| However, on SLC, IPC and SS1+ machines here, the result is always exactly
| 4Meg regardless of the amount of physical memory the machines have!

RTFM, *carefully*!:

mem is a special file that is an *image of the physical memory* of the computer.

Some machines may not have contiguous physical memory, to allow for
different sizes of SIMMS to be plugged in.  Probably there is a "hole"
after the first 4 Meg, and reading /dev/mem in a continuous stream finds
an apparent EOF when it tries to read a hole.
Technical Details
Message-ID: <2592@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: iapsd!hopi!glenn@uunet.uu.net (Glenn Herteg)
Newsgroups: comp.sys.sun
Subject: Re: Strange behaviour of /dev/mem
Keywords: Miscellaneous
Message-ID: <2592@brchh104.bnr.ca>
Date: 24 Apr 91 00:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 12
Approved: Sun-Spots@rice.edu
X-Original-Date: Fri, 19 Apr 91 22:37:32 PDT
X-Refs:  Original: v10n75
X-Sun-Spots-Digest: Volume 10, Issue 86, message 10
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu