Shell vi as hex editor for device drive

Hello guys,

please, can you tell me if is it possible use the vi editor as hex editor for a device drive (in particular a NTFS formatted usb stick /dev/da4) ?

I need to visualize the filesystem structure in hexadecimal.

The option ":%xxdd" seems doesn't work for device in /dev, but only for text file.

Tips are welcome.

Thanks in advance.

Sincerely.
 
another solution ?
running bvi /dev/da4 bvi shows me one line only few zeros.
da4 is a usb stick ntfs formatted
 

please, can you tell me in which a way jump to a specified sector number using fileobj hex editor ?
For example, ones time I've opened a file with fileobj, i need to go to sector number 522 ?
How can I do ?

Note: I've already read the doc at Github Readme.

Thanks in advance.
 
Hello guys,

please, can you tell me if is it possible use the vi editor as hex editor for a device drive (in particular a NTFS formatted usb stick /dev/da4) ?

I need to visualize the filesystem structure in hexadecimal.

The option ":%xxdd" seems doesn't work for device in /dev, but only for text file.

Tips are welcome.

Thanks in advance.

Sincerely.

there are numerous hex on ncurses, which can be helpful for you.
 
I've already seen some of ncurses hexeditor. Really I'm searching for one that have the possibility to jump to a sector with only one command, a little bit like the HxD editor does.
 
I think the editing a /dev/daX directly is a very bad idea.
Use dd to dump the part you need in a file, edit it, then copy it back.
 
Back
Top