Deleted Added
full compact
dd.1 (57639) dd.1 (68935)
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 57639 2000-03-01 05:28:45Z green $
36.\" $FreeBSD: head/bin/dd/dd.1 68935 2000-11-20 11:39:41Z ru $
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
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
45.Nm dd
45.Nm
46.Op operands ...
47.Sh DESCRIPTION
48The
49.Nm
50utility copies the standard input to the standard output.
51Input data is read and written in 512-byte blocks.
52If input reads are short, input from multiple reads are aggregated
53to form the output block.

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

246conversion is not specified, the input block is omitted from the output.
247On input files which are not tapes or pipes, the file offset
248will be positioned past the block in which the error occurred using
249.Xr lseek 2 .
250.It Cm notrunc
251Do not truncate the output file.
252This will preserve any blocks in the output file not explicitly written
253by
46.Op operands ...
47.Sh DESCRIPTION
48The
49.Nm
50utility copies the standard input to the standard output.
51Input data is read and written in 512-byte blocks.
52If input reads are short, input from multiple reads are aggregated
53to form the output block.

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

246conversion is not specified, the input block is omitted from the output.
247On input files which are not tapes or pipes, the file offset
248will be positioned past the block in which the error occurred using
249.Xr lseek 2 .
250.It Cm notrunc
251Do not truncate the output file.
252This will preserve any blocks in the output file not explicitly written
253by
254.Nm Ns .
254.Nm .
255The
256.Cm notrunc
257value is not supported for tapes.
258.It Cm osync
259Pad the final output block to the full output block size.
260If the input file is not a multiple of the output block size
261after conversion, this conversion forces the final output block
262to be the same size as preceding blocks for use on devices that require

--- 109 unchanged lines hidden ---
255The
256.Cm notrunc
257value is not supported for tapes.
258.It Cm osync
259Pad the final output block to the full output block size.
260If the input file is not a multiple of the output block size
261after conversion, this conversion forces the final output block
262to be the same size as preceding blocks for use on devices that require

--- 109 unchanged lines hidden ---