dd for windows手册

dd for windows下载地址:http://www.chrysocome.net/dd(或从网上找)

dd是一个在LINUX、UNIX下非常重要的磁盘镜像工具,现在终于有了WINDOWS版本。虽然dd是基于命令行方式的应用程序,操作不便捷,但命令行的应用程序优点却也是图形程序不具备的,比如,希望对硬盘做批量镜像,如果用图形界面程序处理,只能等待做完一个再做一个,而用命令行的dd,就可以下一个批处理命令来批量执行了。

dd for windows的执行格式为:

dd [bs=SIZE[SUFFIX]] [count=BLOCKS[SUFFIX]] if=FILE of=FILE [seek=BLOCKS[SUFFIX]] [skip=BLOCKS[SUFFIX]] [--size] [--list] [--progress]

其中:

bs代表镜像时缓冲块的大小,通常建议设得大一点,比如1M、10M等(单位可用:c表示字节,w表示双字,d表示4字节,q表示8字节,k表示1024字节,M表示k*k字节,G表示k*k*k字节),默认为512字节

count表示镜像的块总数

if与of分别表示镜像源与镜像目标的设备文件路径

seek表示在备份时对of后面的部分也就是目标文件跳过多少块再开始写

skip表示备份时对if后面的部分也就是原文件跳过多少块再开始备份

--size表示对源设备的读取进行大小校验,以避免IO死循环等错误

--list表示列出可利用的磁盘(分区)设备文件,在if与of中指定的这是这些设备名称

--progress表示显示镜像进度

 

示例:

对软盘做镜像:

dd if=//./a: of=c:/temp/disk1.img bs=1440k

 

对硬盘做镜像

先用 dd --list,查到要镜像的设备路径为://?/device/harddisk1/dr5

 

然后执行:

E:/>dd if=//?/device/harddisk1/dr5 of=r:/aa.img --size

rawwrite dd for windows version 0.5.

Written by John Newbigin <jn@it.swin.edu.au>

This program is covered by the GPL.  See copying.txt for details

250880+0 records in

250880+0 records out

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
C:\Documents and Settings\Administrator>dd --list rawwrite dd for windows version 0.6beta3. Written by John Newbigin This program is covered by terms of the GPL Version 2. Win32 Available Volume Information \\.\Volume{f96a7ab8-6270-11e9-b10a-806d6172696f}\ link to \\?\Device\HarddiskVolume1 fixed media Mounted on \\.\c: \\.\Volume{f96a7ab9-6270-11e9-b10a-806d6172696f}\ link to \\?\Device\HarddiskVolume2 fixed media Mounted on \\.\e: \\.\Volume{f96a7aba-6270-11e9-b10a-806d6172696f}\ link to \\?\Device\HarddiskVolume3 fixed media Mounted on \\.\f: \\.\Volume{f96a7abb-6270-11e9-b10a-806d6172696f}\ link to \\?\Device\HarddiskVolume4 fixed media Mounted on \\.\d: \\.\Volume{04f3c464-ee5a-11e9-b217-00e04ca38b2c}\ link to \\?\Device\Harddisk1\DP(1)0-0+8 removeable media Mounted on \\.\g: NT Block Device Objects \\?\Device\Harddisk0\Partition0 link to \\?\Device\Harddisk0\DR0 Fixed hard disk media. Block size = 512 size is 1000204886016 bytes \\?\Device\Harddisk0\Partition1 link to \\?\Device\HarddiskVolume1 \\?\Device\Harddisk0\Partition2 link to \\?\Device\HarddiskVolume2 Fixed hard disk media. Block size = 512 size is 292058824704 bytes \\?\Device\Harddisk0\Partition3 link to \\?\Device\HarddiskVolume3 Fixed hard disk media. Block size = 512 size is 308710211584 bytes \\?\Device\Harddisk0\Partition4 link to \\?\Device\HarddiskVolume4 \\?\Device\Harddisk1\Partition0 link to \\?\Device\Harddisk1\DR7 Removable media other than floppy. Block size = 512 size is 67108864000 bytes \\?\Device\Harddisk1\Partition1 link to \\?\Device\Harddisk1\DP(1)0-0+8 Virtual input devices /dev/zero (null data) /dev/random (pseudo-random data) - (standard input) Virtual output devices - (standard output) /dev/null (discard the data)

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值