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 ...
- 11-29-2011 #1Just Joined!
- Join Date
- Nov 2011
- Location
- Ottawa, Ontario, Canada
- Posts
- 2
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.
- 11-29-2011 #2Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
'dd' has 'seek', 'bs' and 'count' options you might want to look into.
- 11-29-2011 #3Just Joined!
- Join Date
- Nov 2011
- Location
- Ottawa, Ontario, Canada
- Posts
- 2
thanks john
- 12-01-2011 #4Just 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.


Reply With Quote