linux+dd+数据库,linux dd – 搜索结果 – 提供7*24专业数据库(Oracle,SQL Server,MySQL等)恢复和Oracle技术服务@Tel:+86 13429648...

该博客介绍了如何在Windows环境中使用类似于Linux和Unix的dd命令。dd是用于数据复制和转换的工具,这里展示了其在Windows上的版本0.6beta3的用法,包括如何指定块大小、输入输出文件、跳过和寻求特定位置等选项。通过实例演示了如何复制磁盘头并创建磁盘映像文件。
摘要由CSDN通过智能技术生成

很多习惯了Linux和Uinx的人都困惑windows中没有dd这样的好命令,经过不懈的努力终于发现了win dd

帮助命令

E:\>dd --help

rawwrite dd for windows version 0.6beta3.

Written by John Newbigin

This program is covered by terms of the GPL Version 2.

dd [bs=SIZE] [count=BLOCKS] [if=FILE] [of=FILE] [seek=BLOCKS] [skip=BLOCKS]

[--size] [--list] [--progress]

SIZE and BLOCKS may have one of the following suffix:

k = 1024

M = 1048576

G = 1073741824

default block size (bs) is 512 bytes

skip specifies the starting offset of the input file (if)

seek specifies the starting offset of the output file (of)

磁盘列表

E:\>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{7cf2f59c-6207-11e1-b81a-806e6f6e6963}\

link to \\?\Device\HarddiskVolume1

fixed media

Mounted on \\.\c:

\\.\Volume{9ba58399-a85a-11e1-b19f-005056c00008}\

link to \\?\Device\HarddiskVolume5

removeable media

Mounted on \\.\h:

\\.\Volume{7cf2f59d-6207-11e1-b81a-806e6f6e6963}\

link to \\?\Device\HarddiskVolume2

fixed media

Mounted on \\.\d:

\\.\Volume{7cf2f59e-6207-11e1-b81a-806e6f6e6963}\

link to \\?\Device\HarddiskVolume3

fixed media

Mounted on \\.\e:

\\.\Volume{7cf2f59f-6207-11e1-b81a-806e6f6e6963}\

link to \\?\Device\HarddiskVolume4

fixed media

Mounted on \\.\f:

\\.\Volume{d0f53c6a-6272-11e1-8729-806e6f6e6963}\

link to \\?\Device\CdRom0

CD-ROM

Mounted on \\.\g:

NT Block Device Objects

\\?\Device\CdRom0

size is 2147483647 bytes

Virtual input devices

/dev/zero (null data)

/dev/random (pseudo-random data)

- (standard input)

Virtual output devices

- (standard output)

/dev/null (discard the data)

拷贝磁盘头(asm修复常见)

E:\>dd if=\\.\Volume{9ba58399-a85a-11e1-b19f-005056c00008}

of=f:\usb.img bs=1M count=10

rawwrite dd for windows version 0.6beta3.

Written by John Newbigin

This program is covered by terms of the GPL Version 2.

10+0 records in

10+0 records out

E:\>dir f:\usb.img

驱动器 F 中的卷没有标签。

卷的序列号是 000F-FFCB

f:\ 的目录

2012/11/13 23:39 10,485,760 usb.img

1 个文件 10,485,760 字节

0 个目录 30,501,912,576 可用字节

拷贝文件

E:\>dd if=f:\usb.img of=f:\usb_new.img bs=1M count=5

rawwrite dd for windows version 0.6beta3.

Written by John Newbigin

This program is covered by terms of the GPL Version 2.

5+0 records in

5+0 records out

E:\>dir f:\usb*

驱动器 F 中的卷没有标签。

卷的序列号是 000F-FFCB

f:\ 的目录

2012/11/13 23:39 10,485,760 usb.img

2012/11/13 23:46 5,242,880 usb_new.img

2 个文件 15,728,640 字节

0 个目录 30,496,669,696 可用字节

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
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)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值