home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / sysv386 / 14122 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  3.0 KB

  1. Path: sparky!uunet!usc!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!cbnewsj!dwex
  2. From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Re: What is /dev/pmem?
  5. Message-ID: <1992Sep6.205454.18297@cbnewsj.cb.att.com>
  6. Date: 6 Sep 92 20:54:54 GMT
  7. References: <1992Aug31.152303.20833@cbnewsj.cb.att.com> <1992Sep2.193151.16817@cti-software.nl> <Bu6745.C58@ais.org>
  8. Organization: AT&T
  9. Lines: 57
  10.  
  11. In article <Bu6745.C58@ais.org> lewis@ais.org (David T. Lewis) writes:
  12. > In article <1992Sep2.193151.16817@cti-software.nl> pim@cti-software.nl 
  13. > (Pim Zandbergen) writes:
  14. > >dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:
  15. > >
  16. > >
  17. > >>On my SVR4 box (Microport), in addition to the standard /dev/mem and
  18. > >>/dev/kmem, there is a /dev/pmem.  All three have different minor mumbers 
  19. > >>(same major number, so /dev/pmem is obviously related to the other two).
  20. > >>The manual page for /dev/mem and /dev/kmem has no mention of /dev/pmem.
  21. > >>Can anyone enlighten me on what this is?
  22. > >
  23. > >I've asked the same question a couple of months ago, because
  24. > >there's also a /dev/pmem in Interactive's SVR3.2.
  25. > >
  26. > >I had zero response then, I wonder if there will be any now.
  27. > >-- 
  28. > >Pim Zandbergen                      domain : pim@cti-software.nl
  29. > >CTI Software BV                     uucp   : uunet!mcsun!sun4nl!ctisbv!pim
  30. > >Laan Copes van Cattenburch 70       phone  : +31 70 3542302
  31. > >2585 GD The Hague, The Netherlands  fax    : +31 70 3512837
  32. > Please forgive me taking a wild guess at it, but "physical memory" comes
  33. > to mind.  Possibly this is to provide access to hardware memory addresses,
  34. > as distinct from addresses which get translated through the memory mapping
  35. > hardware.  If you can read your video card memory from address 0xA0000 or
  36. > 0xB0000 of /dev/pmem, the hypothesis would be supported.  Obviously,
  37. > writing to this device would be a bit on the risky side.
  38.  
  39.  
  40. I quote, from the SVR4 mem(7) manual page:
  41.  
  42.     The file /dev/mem is a special file that is an image of
  43.     the core memory of the computer.  It may be used, for example,
  44.     to examine, and even to patch the system
  45.  
  46.     Byte addresses in /dev/mem are interpreted as memory addresses.
  47.     References to non-existent locations cause errors to be
  48.     returned
  49.  
  50.     Examining and patching device registers is likely to lead to
  51.     unexpected results when read-only or write-only bits are
  52.     present.
  53.  
  54.     The file /dev/kmem is the same as /dev/mem except that kernel
  55.     virtual memory rather than physical memory is accessed.
  56.  
  57.  
  58. No mention of /dev/pmem.  Since /dev/mem is physical memory, by this
  59. definition, I repeat "What is /dev/pmem?"
  60.  
  61. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  62. David Wexelblat             | dwex@mtgzfs3.att.com  | Somebody get me a
  63. AT&T Bell Laboratories      | ...!att!mtgzfs3!dwex  |   cheeseburger!
  64. 200 Laurel Ave - 4B-421     |                       |      
  65. Middletown, NJ  07748       | (908) 957-5871        | --Steve Miller Band
  66.