[BusyBox] Problems with hexdump
Steven Scholz
steven.scholz at imc-berlin.de
Tue Nov 18 13:21:57 UTC 2003
Hi there,
I see two problems with hexdump:
1.) The addresses printed by hexdump are rubbish. They should start at 00000000.
~ # hexdump /etc/inittab
30014010 2320 5374 6172 7420 7573 6572 2061 7070
10199a78 6c69 6361 7469 6f6e 0a3a 3a73 7973 696e
--- snip ---
10199a90 7574 646f 776e 3a2f 7362 696e 2f73 7761
0000000 706f 6666 202d 610a 0a00
10199a90
2.) Hexdumping (large) binarys using "head" shows "Broken pipe":
~ # hexdump /bin/busybox | head
30014010 7f45 4c46 0102 0100 0000 0000 0000 0000
10199a78 0002 0014 0000 0001 1000 4188 0000 0034
--- snip ---
10199a78 0001 0000 0000 0001 0009 476c 100a 476c
Broken pipe
~ # cat /bin/busybox | hexdump | head
30014010 7f45 4c46 0102 0100 0000 0000 0000 0000
--- snip ---
10199a78 0001 0000 0000 0001 0009 476c 100a 476c
Broken pipe
Broken pipe
Thanks,
Steven
More information about the busybox
mailing list