看板FreeBSD
标 题dd指令备份MBR一问?
发信站台大电机 Maxwell BBS (Sat Sep 11 23:14:01 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.cis.nctu!news.ee.ttu!news.ntu!b
我想请教的是,MBR资讯就只有446 个字节,後面的64个字节是分割表的配置资讯
,这样为何备份到磁片要用512字节,为何都不直接采用446字节就好呢,因为还原
只还原446字节阿,所以不得其解?
谢谢...
在软盘上备份 MBR 信息:
bash# dd if=/dev/hda of=/dev/fd0 bs=512 count=1
恢复:(万一的情况下)
bash# dd if=/dev/fd0 of=/dev/hda bs=446 count=1
--
※ Origin: 台大电机 Maxwell 站 ◆ From: h43-61-59-108.3cyoyo.com.tw