Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site mako.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!bullwinkle!cornell!uw-beaver!tektronix!orca!mako!jans From: jans@mako.UUCP (Jan Steinman) Newsgroups: net.unix-wizards Subject: Re: Need help in accessing physical address in Unix Message-ID: <982@mako.UUCP> Date: Mon, 16-Dec-85 12:32:24 EST Article-I.D.: mako.982 Posted: Mon Dec 16 12:32:24 1985 Date-Received: Wed, 18-Dec-85 05:44:37 EST References: <270@moncskermit.oz> <177@daab.UUCP> <612@unisoft.UUCP> <4673@mordor.UUCP> Reply-To: jans@mako.UUCP (Jan Steinman) Organization: Tektronix, Wilsonville OR Lines: 21 Keywords: /dev/mem, anyone? I'm suprised no one has mentioned this, and perhaps I'm being naive in suggesting it, but can't one simply open /dev/mem and lseek() to the desired physical address? I realize this requires suid root, but the other solutions apparently do also. From my UTek manual, section 4: MeM is a special file that is an image of the main memory of the computer. It may be used, for example, to examine (and even to patch) the system. Byte addresses in mem are interpreted as physical memory addresses. References to non-existant locations cause errors to be returned. Am I missing something, or is this not the most simple way to "get at the RAW BITS". It may well be a Berkleyism, SysV folk care to comment? -- :::::: Artificial Intelligence Machines --- Smalltalk Project :::::: :::::: Jan Steinman Box 1000, MS 60-405 (w)503/685-2956 :::::: :::::: tektronix!tekecs!jans Wilsonville, OR 97070 (h)503/657-7703 ::::::