Emacs Hexl to read device files

emacs

I have to manually edit a FAT 16 partition. After trying few hex editors, I decided to try Emacs Hexl.

sudo emacs -> M-x hexl-find-file -> /dev/sdb

The commands open device file but its empty, although others hex editors (including 'sudo cat /dev/sdb') show its content.

Why so?

Thank you.

Best Answer

IMHO, There is no way to read/write device file in Emacs.

See also http://www.emacswiki.org/emacs/EmacsLispLimitations

Related Question