What would happen if I where to cat /dev/mem > /dev/null
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
ok i tryed cat /dev/random > /dev/mem all its doing is making the little lite that says when the CPU is being used blink every once in a while, but its not crashing, altho ic ant use my system as cat wont let go of my system!, ok i need to reboot as i have no way to kill cat or close cat, , thats seee what happens after reboot
note: im runing as super user (user 0, root , what name you want to use)
ok rebooted and everyhting normal, /dev/mem is still ther, every acts and looks like it should
besides making my system unusedable it did nothing to hurt it (note:, if i was able to switch terminals then i coulda probly killed cat and got outa that) so i think it was just a waste of time
I always wondered why someone said cat /dev/null > /dev/mem would do damage that one would have to reinstall: it would just blank the RAM no? And the RAM gets reset every reboot? Unless of course someone was writing to the filesystem and had to copy it from the RAM...
What is /dev/mem actually? Does it count the swap file? Is it just the RAM or more? The BIOS or CMOS?