dd.1 (107282) | dd.1 (126667) |
---|---|
1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Keith Muller of the University of California, San Diego. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" @(#)dd.1 8.2 (Berkeley) 1/13/94 | 1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Keith Muller of the University of California, San Diego. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" @(#)dd.1 8.2 (Berkeley) 1/13/94 |
36.\" $FreeBSD: head/bin/dd/dd.1 107282 2002-11-26 17:55:41Z ru $ | 36.\" $FreeBSD: head/bin/dd/dd.1 126667 2004-03-05 19:35:51Z phk $ |
37.\" 38.Dd January 13, 1994 39.Dt DD 1 40.Os 41.Sh NAME 42.Nm dd 43.Nd convert and copy a file 44.Sh SYNOPSIS --- 181 unchanged lines hidden (view full) --- 226.Cm oldibm 227are maps used in historic 228.At 229and 230.No pre- Ns Bx 4.3 reno 231systems. 232.It Cm lcase 233Transform uppercase characters into lowercase characters. | 37.\" 38.Dd January 13, 1994 39.Dt DD 1 40.Os 41.Sh NAME 42.Nm dd 43.Nd convert and copy a file 44.Sh SYNOPSIS --- 181 unchanged lines hidden (view full) --- 226.Cm oldibm 227are maps used in historic 228.At 229and 230.No pre- Ns Bx 4.3 reno 231systems. 232.It Cm lcase 233Transform uppercase characters into lowercase characters. |
234.It Cm pareven , parnone , parodd , parset 235Output data with the specified parity. 236The parity bit on input is stripped unless 237.Tn EBCDIC 238to 239.Tn ASCII 240conversions is also specified. |
|
234.It Cm noerror 235Do not stop processing on an input error. 236When an input error occurs, a diagnostic message followed by the current 237input and output block counts will be written to the standard error output 238in the same format as the standard completion message. 239If the 240.Cm sync 241conversion is also specified, any missing input data will be replaced --- 108 unchanged lines hidden (view full) --- 350.Nm 351receives a 352.Dv SIGINT 353signal, the current input and output block counts will 354be written to the standard error output 355in the same format as the standard completion message and 356.Nm 357will exit. | 241.It Cm noerror 242Do not stop processing on an input error. 243When an input error occurs, a diagnostic message followed by the current 244input and output block counts will be written to the standard error output 245in the same format as the standard completion message. 246If the 247.Cm sync 248conversion is also specified, any missing input data will be replaced --- 108 unchanged lines hidden (view full) --- 357.Nm 358receives a 359.Dv SIGINT 360signal, the current input and output block counts will 361be written to the standard error output 362in the same format as the standard completion message and 363.Nm 364will exit. |
365.Sh EXAMPLES 366Check that a disk drive contains no bad blocks: 367.Dl dd if=/dev/ad0 of=/dev/null bs=1m 368.Pp 369Do a refresh of a disk drive, in order to prevent presently 370recoverable read errors from progressing into unrecoverable read errors: 371.Dl dd if=/dev/ad0 of=/dev/ad0 bs=1m 372.Pp 373Remove parity bit from a file 374.Dl dd if=file conv=parnone of=file.txt 375.Pp 376Check for (even) parity errors on a file: 377.Dl dd if=file conv=pareven | cmp -x - file |
|
358.Sh DIAGNOSTICS 359.Ex -std 360.Sh SEE ALSO 361.Xr cp 1 , 362.Xr mt 1 , 363.Xr tr 1 364.Sh STANDARDS 365The --- 17 unchanged lines hidden --- | 378.Sh DIAGNOSTICS 379.Ex -std 380.Sh SEE ALSO 381.Xr cp 1 , 382.Xr mt 1 , 383.Xr tr 1 384.Sh STANDARDS 385The --- 17 unchanged lines hidden --- |