cat: /dev/mem: Operation not permitted
Dotan Cohen
dotancohen at gmail.com
Sun Mar 15 09:35:14 UTC 2009
> I just tried $sudo cat /dev/mem and got lots of wierd stuff on the
> screen, as I would expect.
>
That's why I run it through strings.
> I then tried sudo cat /dev/mem > mem.txt. It sat there for a while, and
> I got the same error as you when I hit ctrl-C. mem.txt did contain some
> data.
>
I didn't even hit Ctrl-C. It just gave me the error.
> I'm guessing you cannot do a file close operation on /dev/mem, for some
> reason.
>
On any other Linux-based OS this is possible, in fact, it is good for
recovering lost files.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
More information about the ubuntu-users
mailing list