Imported Upstream version 2.4.4p3
[debian/amanda] / man / amdd.8
1 .\"
2 .de CO
3 \fB\\$1\fP \fI\\$2\fP
4 ..
5 .TH AMDD 8
6 .SH NAME
7 amdd \- Amanda version of dd
8 .SH SYNOPSIS
9 .B amdd
10 [
11 .B -d
12 ]
13 [
14 .B if=\fIinput
15 ]
16 [
17 .B of=\fIoutput
18 ]
19 [
20 .B bs=\fIblocksize
21 ]
22 [
23 .B skip=\fIcount
24 ]
25 [
26 .B count=\fIcount
27 ]
28 .SH DESCRIPTION
29 .B Amdd
30 provides just enough of the standard
31 .UX
32 .B dd
33 command for the needs of Amanda.
34 This is handy when doing a full restore and the standard
35 .B dd
36 program has not yet been found.
37 .LP
38 .B Amdd
39 also provides access to the Amanda output drivers that support
40 various tape simulations.
41 This may be used for debugging or to convert from one format
42 to another.
43 .LP
44 See the
45 .IR amanda (8)
46 man page for more details about Amanda.
47 See the
48 .B OUTPUT DRIVERS
49 section of
50 .I amanda(8)
51 for more information on the Amanda output drivers.
52 .SH OPTIONS
53 .de BS
54 \fB\\$1\fP\ \fR\\$2\fP
55 ..
56 .TP
57 .B \-d
58 Turn on debugging output.
59 .TP
60 .BI \-l length
61 Set the output length.
62 If the output driver limits the output size, this controls
63 when end of tape will be simulated.
64 .IP
65 .I Length
66 may have a multiplier suffix:
67 .RS
68 .IP
69 .BS k 1024\ (Kilobytes)
70 .IP
71 .BS b 512\ (Blocks)
72 .IP
73 .BS M 1024*1024\ (Megabytes)
74 .RE
75 .IP
76 The default is no multipler (bytes).
77 .TP
78 .B if=\fIinput
79 Input to
80 .BR dd .
81 Default is stdin.
82 .TP
83 .B of=\fIoutput
84 Where to send the output of
85 .BR dd .
86 Default is stdout.
87 .TP
88 .B bs=\fIblocksize
89 Size of each record.
90 Input records smaller than this will
91 .I not
92 be padded.
93 Output records will be the same size as the corresponding input record.
94 Default is 512 bytes.
95 .IP
96 .I Blocksize
97 may have a multiplier suffix:
98 .RS
99 .IP
100 .BS k 1024\ (Kilobytes)
101 .IP
102 .BS b 512\ (Blocks)
103 .IP
104 .BS M 1024*1024\ (Megabytes)
105 .RE
106 .IP
107 The default is no multipler (bytes).
108 .TP
109 .B count=\fIcount
110 Number of records to copy.
111 Default is all records until end of file.
112 .TP
113 .B skip=\fIcount
114 Number of records to skip before copying input to output.
115 Default is zero.
116 .SH AUTHOR
117 Marc Mengel <mengel@fnal.gov>
118 .br
119 John R. Jackson <jrj@purdue.edu>
120 .SH "SEE ALSO"
121 amanda(8)