Deleted Added
full compact
dd.1 (139969) dd.1 (140353)
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

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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
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

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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: head/bin/dd/dd.1 139969 2005-01-10 08:39:26Z imp $
33.\" $FreeBSD: head/bin/dd/dd.1 140353 2005-01-16 16:41:59Z ru $
34.\"
35.Dd August 15, 2004
36.Dt DD 1
37.Os
38.Sh NAME
39.Nm dd
40.Nd convert and copy a file
41.Sh SYNOPSIS

--- 326 unchanged lines hidden (view full) ---

368.Nm
369receives a
370.Dv SIGINT
371signal, the current input and output block counts will
372be written to the standard error output
373in the same format as the standard completion message and
374.Nm
375will exit.
34.\"
35.Dd August 15, 2004
36.Dt DD 1
37.Os
38.Sh NAME
39.Nm dd
40.Nd convert and copy a file
41.Sh SYNOPSIS

--- 326 unchanged lines hidden (view full) ---

368.Nm
369receives a
370.Dv SIGINT
371signal, the current input and output block counts will
372be written to the standard error output
373in the same format as the standard completion message and
374.Nm
375will exit.
376.Sh EXIT STATUS
377.Ex -std
376.Sh EXAMPLES
377Check that a disk drive contains no bad blocks:
378.Pp
379.Dl "dd if=/dev/ad0 of=/dev/null bs=1m"
380.Pp
381Do a refresh of a disk drive, in order to prevent presently
382recoverable read errors from progressing into unrecoverable read errors:
383.Pp
384.Dl "dd if=/dev/ad0 of=/dev/ad0 bs=1m"
385.Pp
386Remove parity bit from a file:
387.Pp
388.Dl "dd if=file conv=parnone of=file.txt"
389.Pp
390Check for (even) parity errors on a file:
391.Pp
392.Dl "dd if=file conv=pareven | cmp -x - file"
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"
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"
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"
393.Sh DIAGNOSTICS
394.Ex -std
395.Sh SEE ALSO
396.Xr cp 1 ,
397.Xr mt 1 ,
398.Xr tr 1
399.Sh STANDARDS
400The
401.Nm
402utility is expected to be a superset of the

--- 15 unchanged lines hidden ---
395.Sh SEE ALSO
396.Xr cp 1 ,
397.Xr mt 1 ,
398.Xr tr 1
399.Sh STANDARDS
400The
401.Nm
402utility is expected to be a superset of the

--- 15 unchanged lines hidden ---