freebsd-dev/cmd
Chunwei Chen a179a3aa35 Fix zdb_dump_block on little endian systems
When dumping a block on a little endian system the data must be
byte swapped to display correctly.  Example incorrect output:

$ echo 0123456789abcdef > aaa
$ zdb -eR pp 3:1ee00:200
3:1ee00:200
          0 1 2 3 4 5 6 7   8 9 a b c d e f  0123456789abcdef
000000:  3736353433323130  6665646362613938  0123456789abcdef
000010:  000000000000000a  0000000000000000  ................

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4020
2015-12-02 17:02:28 -08:00
..
arc_summary Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
arcstat Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
dbufstat Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add temporary mount options 2015-09-03 14:14:55 -07:00
vdev_id Add extra keyword 'slot' to vdev_id.conf 2015-08-30 10:03:56 -07:00
zdb Fix zdb_dump_block on little endian systems 2015-12-02 17:02:28 -08:00
zed Rework zed_notify_email for configurable PROG/OPTS 2015-07-30 11:52:56 -07:00
zfs Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zhack Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zinject Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zpios Add large block support to zpios(1) benchmark 2015-09-22 09:13:20 -07:00
zpool Tab-indent continuation lines in the "scan:" section of "zpool status". 2015-09-19 14:17:07 -07:00
zstreamdump Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
ztest Fix zdb calling behavior in ztest 2015-12-02 14:50:36 -08:00
zvol_id Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
Makefile.am Install arc_summary.py 2015-03-03 13:38:17 -08:00