DD.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH DD 1
- .SH NAME
- dd - disk dumper
- .SH SYNOPSIS
- fBddfR [fIoption = valuefR] ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "dd if=/dev/fd0 of=/dev/fd1" "Copy disk 0 to disk 1"
- .EX "dd if=x of=y bs=1w skip=4" "Copy fIxfP to fIyfP, skipping 4 words"
- .EX "dd if=x of=y count=3" "Copy three 512-byte blocks"
- .SH DESCRIPTION
- .PP
- This command is intended for copying partial files.
- The block size, skip count, and number of blocks to copy can be specified.
- The options are:
- .PP
- .ta 0.25i 1.5i
- fBiffR = file - Input file (default is fIstdinfR)
- .br
- fBoffR = file - Output file (default is standard output)
- .br
- fBibsfR = n - Input block size (default 512 bytes)
- .br
- fBobsfR = n - Output block size (default is 512 bytes)
- .br
- fBbsfR = n - Block size; sets fIibsfP and fIobsfP (default is 512 bytes)
- .br
- fBskipfR = n - Skip fInfP input blocks before reading
- .br
- fBseekfR = n - Skip fInfP output blocks before writing
- .br
- fBcountfR = n - Copy only fInfP input blocks
- .br
- fBconv = lcasefR - Convert upper case letters to lower case
- .br
- fBconv = ucasefR - Convert lower case letters to upper case
- .br
- fBconv = swabfR - Swap every pair of bytes
- .br
- fBconv = noerrorfR - Ignore errors and just keep going
- .br
- fBconv = silentfR - Suppress statistics (Minix specific flag)
- .PP
- Where sizes are expected, they are in bytes.
- However, the letters fBwfR, fBbfR, or fBkfR may be appended to the
- number to indicate words (2 bytes), blocks (512 bytes), or K
- (1024 bytes), respectively.
- When
- .I dd
- is finished, it reports the number of full and partial blocks read and written.
- .SH "SEE ALSO"
- .BR vol (1).