Debian Codegraph @

debian/manpages/drblsrv.xml

raw symbols SCIP
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
5 <!ENTITY dhfirstname "Georges"> <!ENTITY dhsurname "Khaznadar">
6 <!-- dhusername could also be set to "&dhfirstname; &dhsurname;". -->
7 <!ENTITY dhusername "Georges Khaznadar">
8 <!ENTITY dhemail "[email protected]">
9 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
10 allowed: see man(7), man(1) and
11 http://www.tldp.org/HOWTO/Man-Page/q2.html. -->
12 <!ENTITY dhsection "8">
13 <!-- TITLE should be something like "User commands" or similar (see
14 http://www.tldp.org/HOWTO/Man-Page/q2.html). -->
15 <!ENTITY dhtitle "Administration commands">
16 <!ENTITY dhucpackage "drblsrv">
17 <!ENTITY dhpackage "drblsrv">
18 ]>
19
20 <refentry>
21 <refentryinfo>
22 <title>&dhtitle;</title>
23 <productname>&dhpackage;</productname>
24 <authorgroup>
25 <author>
26 <firstname>&dhfirstname;</firstname>
27 <surname>&dhsurname;</surname>
28 <contrib>Wrote this manpage for the Debian system, based on the
29 output of the command "<command>&dhpackage;</command> -h".
30 </contrib>
31 <address>
32 <email>&dhemail;</email>
33 </address>
34 </author>
35 <author>
36 <firstname>Steven</firstname>
37 <surname>Shiau</surname>
38 <contrib>Wrote the command <command>&dhpackage;</command>,
39 including its short documentation.
40 </contrib>
41 <address>
42 <email>[email protected]</email>
43 </address>
44 </author>
45 </authorgroup>
46 <copyright>
47 <year>2011</year>
48 <holder>&dhusername;</holder>
49 </copyright>
50 <legalnotice>
51 <para>This manual page was written for the Debian system
52 (and may be used by others).</para>
53 <para>Permission is granted to copy, distribute and/or modify this
54 document under the terms of the GNU General Public License,
55 Version 2 or (at your option) any later version published by
56 the Free Software Foundation.</para>
57 <para>On Debian systems, the complete text of the GNU General Public
58 License can be found in
59 <filename>/usr/share/common-licenses/GPL</filename>.</para>
60 </legalnotice>
61 </refentryinfo>
62 <refmeta>
63 <refentrytitle>&dhucpackage;</refentrytitle>
64 <manvolnum>&dhsection;</manvolnum>
65 </refmeta>
66 <refnamediv>
67 <refname>&dhpackage;</refname>
68 <refpurpose>program to make a DRBL server</refpurpose>
69 </refnamediv>
70 <refsynopsisdiv>
71 <cmdsynopsis>
72 <command>&dhpackage;</command>
73 <!-- These are several examples, how syntaxes could look -->
74 <arg choice="opt">
75 <group choice="req">
76 <arg choice="plain"><option>-f</option></arg>
77 <arg choice="plain"><option>--force-yes</option></arg>
78 </group>
79 </arg>
80
81 <arg choice="opt">
82 <group choice="req">
83 <arg choice="plain"><option>-i</option></arg>
84 <arg choice="plain"><option>--install</option></arg>
85 </group>
86 </arg>
87
88 <arg choice="opt">
89 <group choice="req">
90 <arg choice="plain"><option>-u</option></arg>
91 <arg choice="plain"><option>--uninstall</option></arg>
92 </group>
93 </arg>
94
95 <arg choice="opt">
96 <group choice="req">
97 <arg choice="plain"><option>-v</option></arg>
98 <arg choice="plain"><option>--verbose</option></arg>
99 </group>
100 </arg>
101
102 <arg choice="opt">
103 <group choice="req">
104 <arg choice="plain"><option>-t</option></arg>
105 <arg choice="plain"><option>--testing</option></arg>
106 </group>
107 <group choice="req">
108 <arg choice="plain"><replaceable>y</replaceable></arg>
109 <arg choice="plain"><replaceable>n</replaceable></arg>
110 </group>
111 </arg>
112
113 <arg choice="opt">
114 <group choice="req">
115 <arg choice="plain"><option>-a</option></arg>
116 <arg choice="plain"><option>--unstable</option></arg>
117 </group>
118 <group choice="req">
119 <arg choice="plain"><replaceable>y</replaceable></arg>
120 <arg choice="plain"><replaceable>n</replaceable></arg>
121 </group>
122 </arg>
123
124 <arg choice="opt">
125 <group choice="req">
126 <arg choice="plain"><option>-n</option></arg>
127 <arg choice="plain"><option>--netinstall</option></arg>
128 </group>
129 <group choice="req">
130 <arg choice="plain"><replaceable>y</replaceable></arg>
131 <arg choice="plain"><replaceable>n</replaceable></arg>
132 </group>
133 </arg>
134
135 <arg choice="opt">
136 <group choice="req">
137 <arg choice="plain"><option>-m</option></arg>
138 <arg choice="plain"><option>--smp-client</option></arg>
139 </group>
140 <group choice="req">
141 <arg choice="plain"><replaceable>y</replaceable></arg>
142 <arg choice="plain"><replaceable>n</replaceable></arg>
143 </group>
144 </arg>
145
146 <arg choice="opt">
147 <group choice="req">
148 <arg choice="plain"><option>-x</option></arg>
149 <arg choice="plain"><option>--set-proxy</option></arg>
150 </group>
151 <group choice="req">
152 <arg choice="plain"><replaceable>y</replaceable></arg>
153 <arg choice="plain"><replaceable>n</replaceable></arg>
154 </group>
155 </arg>
156
157 <arg choice="opt">
158 <group choice="req">
159 <arg choice="plain"><option>-c</option></arg>
160 <arg choice="plain"><option>--console-output</option></arg>
161 </group>
162 <group choice="req">
163 <arg choice="plain"><replaceable>y</replaceable></arg>
164 <arg choice="plain"><replaceable>n</replaceable></arg>
165 </group>
166 </arg>
167
168 <arg choice="opt">
169 <group choice="req">
170 <arg choice="plain"><option>-g</option></arg>
171 <arg choice="plain"><option>--upgrade_system</option></arg>
172 </group>
173 <group choice="req">
174 <arg choice="plain"><replaceable>y</replaceable></arg>
175 <arg choice="plain"><replaceable>n</replaceable></arg>
176 </group>
177 </arg>
178
179 <arg choice="opt">
180 <group choice="req">
181 <arg choice="plain"><option>-k</option></arg>
182 <arg choice="plain"><option>--client_archi</option></arg>
183 </group>
184 <group choice="req">
185 <arg choice="plain"><replaceable>0</replaceable></arg>
186 <arg choice="plain"><replaceable>1</replaceable></arg>
187 <arg choice="plain"><replaceable>2</replaceable></arg>
188 </group>
189 </arg>
190
191 <arg choice="opt">
192 <group choice="req">
193 <arg choice="plain"><option>-o</option></arg>
194 <arg choice="plain"><option>--client_kernel_from</option></arg>
195 </group>
196 <group choice="req">
197 <arg choice="plain"><replaceable>1</replaceable></arg>
198 <arg choice="plain"><replaceable>2</replaceable></arg>
199 </group>
200 </arg>
201
202 <arg choice="opt">
203 <group choice="req">
204 <arg choice="plain"><option>-s</option></arg>
205 <arg choice="plain"><option>--skip-select-repository</option></arg>
206 </group>
207 </arg>
208
209 <arg choice="opt">
210 <group choice="req">
211 <arg choice="plain"><option>-l</option></arg>
212 <arg choice="plain"><option>--language</option></arg>
213 </group>
214 <group choice="req">
215 <arg choice="plain"><replaceable>0</replaceable></arg>
216 <arg choice="plain"><replaceable>1</replaceable></arg>
217 <arg choice="plain"><replaceable>2</replaceable></arg>
218 </group>
219 </arg>
220
221 </cmdsynopsis>
222 <cmdsynopsis>
223 <command>&dhpackage;</command>
224 <!-- Normally the help and version options make the programs stop
225 right after outputting the requested information. -->
226 <group choice="opt">
227 <arg choice="plain">
228 <group choice="req">
229 <arg choice="plain"><option>-h</option></arg>
230 <arg choice="plain"><option>--help</option></arg>
231 </group>
232 </arg>
233 <arg choice="plain">
234 <group choice="req">
235 <arg choice="plain"><option>-v</option></arg>
236 <arg choice="plain"><option>--version</option></arg>
237 </group>
238 </arg>
239 </group>
240 </cmdsynopsis>
241 </refsynopsisdiv>
242 <refsect1 id="description">
243 <title>DESCRIPTION</title>
244 <para><command>&dhpackage;</command> is a program to build or maintain a DRBL server.</para>
245 </refsect1>
246 <refsect1 id="options">
247 <title>OPTIONS</title>
248 <para>The program follows the usual GNU command line syntax,
249 with long options starting with two dashes (`-'). A summary of
250 options is included below.</para>
251 <variablelist>
252 <!-- Use the variablelist.term.separator and the
253 variablelist.term.break.after parameters to
254 control the term elements. -->
255 <varlistentry>
256 <term><option>-f</option></term>
257 <term><option>--force-yes</option></term>
258 <listitem>
259 <para>force yes, only for Debian-like distribution. It should
260 not be used except in very special situations. Using force-yes
261 can potentially destroy your system!</para>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry>
266 <term><option>-i</option></term>
267 <term><option>--install</option></term>
268 <listitem>
269 <para>install DRBL.</para>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry>
274 <term><option>-u</option></term>
275 <term><option>--uninstall</option></term>
276 <listitem>
277 <para>uninstall DRBL.</para>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry>
282 <term><option>-v</option></term>
283 <term><option>--verbose</option></term>
284 <listitem>
285 <para>verbose mode.</para>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry>
290 <term><option>-t <replaceable>[y/n]</replaceable></option></term>
291 <term><option>--testing <replaceable>[y/n]</replaceable></option></term>
292 <listitem>
293 <para>use packages in testing branch or not.</para>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry>
298 <term><option>-a <replaceable>[y/n]</replaceable></option></term>
299 <term><option>--unstable <replaceable>[y/n]</replaceable></option></term>
300 <listitem>
301 <para>use packages in unstable branch or not.</para>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry>
306 <term><option>-n <replaceable>[y/n]</replaceable></option></term>
307 <term><option>--netinstall <replaceable>[y/n]</replaceable></option></term>
308 <listitem>
309 <para>install the network installation program or not.</para>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry>
314 <term><option>-m <replaceable>[y/n]</replaceable></option></term>
315 <term><option>--smp-client <replaceable>[y/n]</replaceable></option></term>
316 <listitem>
317 <para>use SMP kernel for DRBL clients or not.</para>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry>
322 <term><option>-x <replaceable>[y/n]</replaceable></option></term>
323 <term><option>--set-proxy <replaceable>[y/n]</replaceable></option></term>
324 <listitem>
325 <para>set proxy or not.</para>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry>
330 <term><option>-c <replaceable>[y/n]</replaceable></option></term>
331 <term><option>--console-output <replaceable>[y/n]</replaceable></option></term>
332 <listitem>
333 <para>set console output for client or not.</para>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry>
338 <term><option>-g <replaceable>[y/n]</replaceable></option></term>
339 <term><option>--upgrade_system <replaceable>[y/n]</replaceable></option></term>
340 <listitem>
341 <para>upgrade system or not.</para>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry>
346 <term><option>-k <replaceable>[0|1|2]</replaceable></option></term>
347 <term><option>--client_archi <replaceable>[0|1|2]</replaceable></option></term>
348 <listitem>
349 <para>set the client's CPU arch, 0 for i386, 1 for i586, 2 for same level with DRBL server (for x86_64, use 2).</para>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry>
354 <term><option>-o <replaceable>[1|2]</replaceable></option></term>
355 <term><option>--client_kernel_from <replaceable>[1|2]</replaceable></option></term>
356 <listitem>
357 <para>choose client's kernel image from, 1 from DRBL server running kernel (if available), 2 from ayo repository.</para>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry>
362 <term><option>-s</option></term>
363 <term><option>--skip-select-repository</option></term>
364 <listitem>
365 <para>skip the question for selecting repository.</para>
366 </listitem>
367 </varlistentry>
368
369 <varlistentry>
370 <term><option>-l <replaceable>[N]</replaceable></option></term>
371 <term><option>--language <replaceable>[N]</replaceable></option></term>
372 <listitem>
373 <para>Set the language to be shown, where N:
374 0: English,
375 1: Traditional Chinese (Big5) - Taiwan,
376 2: Traditional Chinese (UTF-8, Unicode) - Taiwan.</para>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry>
381 <term><option>-h</option></term>
382 <term><option>--help</option></term>
383 <listitem>
384 <para>Show summary of options.</para>
385 </listitem>
386 </varlistentry>
387 <varlistentry>
388 <term><option>-v</option></term>
389 <term><option>--version</option></term>
390 <listitem>
391 <para>Show version of program.</para>
392 </listitem>
393 </varlistentry>
394 </variablelist>
395 </refsect1>
396 <refsect1 id="files">
397 <title>FILES</title>
398 <variablelist>
399 <varlistentry>
400 <term><filename>/etc/drbl/drbl.conf</filename></term>
401 <listitem>
402 <para>The system-wide configuration file to control the
403 behaviour of <application>&dhpackage;</application>. See
404 <citerefentry>
405 <refentrytitle>drbl.conf</refentrytitle>
406 <manvolnum>5</manvolnum>
407 </citerefentry> for further details.</para>
408 </listitem>
409 </varlistentry>
410 <varlistentry>
411 <term><filename>${HOME}/.drbl.conf</filename></term>
412 <listitem>
413 <para>The per-user configuration file to control the
414 behaviour of <application>&dhpackage;</application>. See
415 <citerefentry>
416 <refentrytitle>drbl.conf</refentrytitle>
417 <manvolnum>5</manvolnum>
418 </citerefentry> for further details.</para>
419 </listitem>
420 </varlistentry>
421 </variablelist>
422 </refsect1>
423 <refsect1 id="environment">
424 <title>ENVIRONMENT</title>
425 <variablelist>
426 <varlistentry>
427 <term><envar>DRBL_SCRIPT_PATH</envar></term>
428 <listitem>
429 <para>If used, the defined path is used to access each of
430 drbl's routine scripts.</para>
431 </listitem>
432 </varlistentry>
433 </variablelist>
434 </refsect1>
435 <refsect1 id="diagnostics">
436 <title>DIAGNOSTICS</title>
437 <para>The following diagnostics may be issued
438 on <filename class="devicefile">stderr</filename>:</para>
439 <variablelist>
440 <varlistentry>
441 <term><errortext>Any error messages worth to be reported in this manpage?</errortext></term>
442 <listitem>
443 <para>If so, they should be documented here.
444 </para>
445 </listitem>
446 </varlistentry>
447 </variablelist>
448 <para><command>&dhpackage;</command> provides some return codes, that can
449 be used in scripts:</para>
450 <segmentedlist>
451 <segtitle>Code</segtitle>
452 <segtitle>Diagnostic</segtitle>
453 <seglistitem>
454 <seg><errorcode>0</errorcode></seg>
455 <seg>Program exited successfully.</seg>
456 </seglistitem>
457 <seglistitem>
458 <seg><errorcode>1</errorcode></seg>
459 <seg>is such documentation useful? If no, erase it.</seg>
460 </seglistitem>
461 </segmentedlist>
462 </refsect1>
463 <refsect1 id="bugs">
464 <!-- Or use this section to tell about upstream BTS. -->
465 <title>KNOWN BUGS</title>
466 <para>The program is currently limited to only work
467 with ... [some known bugs?]</para>
468 </refsect1>
469 <refsect1 id="see_also">
470 <title>SEE ALSO</title>
471 <!-- In alpabetical order. -->
472 <para>
473 <citerefentry>
474 <refentrytitle>drbl.conf</refentrytitle>
475 <manvolnum>5</manvolnum>
476 </citerefentry>,
477
478 <citerefentry>
479 <refentrytitle>drblpush</refentrytitle>
480 <manvolnum>8</manvolnum>
481 </citerefentry>
482 </para>
483 </refsect1>
484 </refentry>
485