Find the answer to your Linux question:
Results 1 to 4 of 4
Hello all. I need a simple way to write to a specific memory space (/dev/mem). In a bash script if possible. (I am using dd to read the changes) Thanks ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    2

    Cool Write to a specific memory space.

    Hello all. I need a simple way to write to a specific memory space (/dev/mem). In a bash script if possible. (I am using dd to read the changes) Thanks in advace.

  2. #2
    Linux Newbie
    Join Date
    Mar 2010
    Posts
    121
    'dd' has 'seek', 'bs' and 'count' options you might want to look into.

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    2

    Wink

    thanks john

  4. #4
    Just Joined!
    Join Date
    Apr 2011
    Posts
    87
    Don't forget newer linux kernel make it so /dev/mem can not access the whole memory (i.e kernel memory ,....etc )
    If you want the whole thing nothing missing you will have to use or mkfifo to create /dev/kmem.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...