通过hexdump查看硬盘头文件的区别

[root@test ~]# dd if=/dev/sda1 of=/tmp/sda1.out bs=512 count=1
1+0 records in
1+0 records out
[root@test ~]# hexdump /tmp/sda1.out
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0000200


[root@test ~]# dd if=/dev/sdb1 of=/tmp/sdb1.out bs=512 count=1
1+0 records in
1+0 records out
[root@test ~]# hexdump /tmp/sdb1.out
0000000 0000 0000 0001 e93b 0001 1800 008c 076c
0000010 0000 0000 0000 0000 4249 204d 6e49 6f66
0000020 6d72 7869 4420 6e79 6d61 6369 5320 7265
0000030 6576 2072 6f43 7970 6972 6867 2874 2943
0000040 3120 3839 2d36 3032 3430 2020 4249 204d
0000050 6e49 6f66 6d72 7869 5320 666f 7774 7261
0000060 2c65 4920 636e 002e 0000 0002 0800 0000
0000070 6b7f 45e6 000e 0000 0000 0000 0067 0000
0000080 3031 302e 0001 0000 0000 0000 0000 0000
0000090 0000 0000 0000 0000 0000 0000 0000 0000
*
0000200
[root@test ~]#

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-245625/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/312079/viewspace-245625/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值