dd.1 (7d4b968b0fa6afc6bca132c27e2041c979ee6101) | dd.1 (05d98029e9476e39b23f895225d36bf60f22ad91) |
---|---|
1.\"- 2.\" Copyright (c) 1990, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" Keith Muller of the University of California, San Diego. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)dd.1 8.2 (Berkeley) 1/13/94 33.\" $FreeBSD$ 34.\" | 1.\"- 2.\" Copyright (c) 1990, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" Keith Muller of the University of California, San Diego. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)dd.1 8.2 (Berkeley) 1/13/94 33.\" $FreeBSD$ 34.\" |
35.Dd January 23, 2009 | 35.Dd October 1, 2013 |
36.Dt DD 1 37.Os 38.Sh NAME 39.Nm dd 40.Nd convert and copy a file 41.Sh SYNOPSIS 42.Nm 43.Op Ar operands ... --- 329 unchanged lines hidden (view full) --- 373in the same format as the standard completion message and 374.Nm 375will exit. 376.Sh EXIT STATUS 377.Ex -std 378.Sh EXAMPLES 379Check that a disk drive contains no bad blocks: 380.Pp | 36.Dt DD 1 37.Os 38.Sh NAME 39.Nm dd 40.Nd convert and copy a file 41.Sh SYNOPSIS 42.Nm 43.Op Ar operands ... --- 329 unchanged lines hidden (view full) --- 373in the same format as the standard completion message and 374.Nm 375will exit. 376.Sh EXIT STATUS 377.Ex -std 378.Sh EXAMPLES 379Check that a disk drive contains no bad blocks: 380.Pp |
381.Dl "dd if=/dev/ad0 of=/dev/null bs=1m" | 381.Dl "dd if=/dev/ada0 of=/dev/null bs=1m" |
382.Pp 383Do a refresh of a disk drive, in order to prevent presently 384recoverable read errors from progressing into unrecoverable read errors: 385.Pp | 382.Pp 383Do a refresh of a disk drive, in order to prevent presently 384recoverable read errors from progressing into unrecoverable read errors: 385.Pp |
386.Dl "dd if=/dev/ad0 of=/dev/ad0 bs=1m" | 386.Dl "dd if=/dev/ada0 of=/dev/ada0 bs=1m" |
387.Pp 388Remove parity bit from a file: 389.Pp 390.Dl "dd if=file conv=parnone of=file.txt" 391.Pp 392Check for (even) parity errors on a file: 393.Pp 394.Dl "dd if=file conv=pareven | cmp -x - file" --- 37 unchanged lines hidden --- | 387.Pp 388Remove parity bit from a file: 389.Pp 390.Dl "dd if=file conv=parnone of=file.txt" 391.Pp 392Check for (even) parity errors on a file: 393.Pp 394.Dl "dd if=file conv=pareven | cmp -x - file" --- 37 unchanged lines hidden --- |