LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hex editor to directly edit device contents (https://www.linuxquestions.org/questions/linux-newbie-8/hex-editor-to-directly-edit-device-contents-4175571650/)

hydrurga 02-07-2016 10:54 AM

Hex editor to directly edit device contents
 
Hi there.

I'm currently taking an interest in the ext4 filesystem and have set up a small partition to allow me to play around with mke2fs and tune2fs.

To view the device raw data, I have been working in read-only, using the dd command to generate a file of the device contents which I then view using Okteta.

Is there any good GUI hex editor out there that will allow me to have read-write access to the contents of the device directly? That would allow me, for example, to directly change flag values in the superblock without having to go through tune2fs.

rknichols 02-07-2016 11:26 AM

Try hexedit. The UI is a bit awkward compared to other editors, but it works.

Oops, you did say "GUI". Oh, well.

hydrurga 02-07-2016 12:03 PM

Quote:

Originally Posted by rknichols (Post 5496664)
Try hexedit. The UI is a bit awkward compared to other editors, but it works.

Oops, you did say "GUI". Oh, well.

It may not be GUI but it does the job at reading and editing the device raw data directly. Many thanks indeed!


All times are GMT -5. The time now is 06:08 AM.