1 | <!-- -*- mode: sgml; mode: fold -*- --> |
---|
2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ |
---|
3 | |
---|
4 | <!ENTITY % aptent SYSTEM "apt.ent.ja"> |
---|
5 | %aptent; |
---|
6 | |
---|
7 | ]> |
---|
8 | |
---|
9 | <refentry> |
---|
10 | &apt-docinfo; |
---|
11 | |
---|
12 | <refmeta> |
---|
13 | <refentrytitle>apt-cdrom</refentrytitle> |
---|
14 | <manvolnum>8</manvolnum> |
---|
15 | </refmeta> |
---|
16 | |
---|
17 | <!-- Man page title --> |
---|
18 | <refnamediv> |
---|
19 | <refname>apt-cdrom</refname> |
---|
20 | <refpurpose>APT CDROM 管理ユーティリティ</refpurpose> |
---|
21 | </refnamediv> |
---|
22 | |
---|
23 | <!-- Arguments --> |
---|
24 | <refsynopsisdiv> |
---|
25 | <cmdsynopsis> |
---|
26 | <command>apt-cdrom</command> |
---|
27 | <arg><option>-hvrmfan</option></arg> |
---|
28 | <arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> |
---|
29 | <arg><option>-o=<replaceable>config string</replaceable></option></arg> |
---|
30 | <arg><option>-c=<replaceable>file</replaceable></option></arg> |
---|
31 | <group choice="req"> |
---|
32 | <arg>add</arg> |
---|
33 | <arg>ident</arg> |
---|
34 | </group> |
---|
35 | </cmdsynopsis> |
---|
36 | </refsynopsisdiv> |
---|
37 | |
---|
38 | <RefSect1><Title>説明</Title> |
---|
39 | <para> |
---|
40 | <command>apt-cdrom</command> は利用可能な取得元として、APT のリスト( &sources-list; )に新しい CDROM を追加します。 |
---|
41 | <command>apt-cdrom</command> は焼き損じを可能な限り補正し、ディスク構造の確認を助けます。また、インデックスファイルの確認を行います。</para><para> |
---|
42 | APT システムに手作業で CD を追加するのは困難で、その上、CD セットのディスクを 1 枚ずつ、焼き損じを補正できるか評価する必要もあるので、<command>apt-cdrom</command> が必要になります。 |
---|
43 | </para><para> |
---|
44 | |
---|
45 | </para><para> |
---|
46 | <option>-h</option> オプションや <option>--help</option> オプションを除き、以下に挙げるコマンドが必要です。 |
---|
47 | |
---|
48 | <VariableList> |
---|
49 | <VarListEntry><Term>add</Term> |
---|
50 | <ListItem><Para> |
---|
51 | <literal>add</literal> は、新しいディスクを取得元リストに追加します。CDROM デバイスのアンマウント、ディスク挿入のプロンプトの表示の後に、ディスクのスキャンとインデックスファイルのコピーを行います。 ディスクに正しい <filename>.disk/</filename> ディレクトリが存在しない場合、ラベル(タイトル)を入力するよう促します。</Para> |
---|
52 | |
---|
53 | <Para> |
---|
54 | APT は、現在ドライブにあるディスクのトラックから取得した、CDROM ID を使用します。またその ID を、ラベルとあわせて <filename>&statedir;/cdroms.list</filename> 内のデータベースで管理します。 |
---|
55 | </Para> |
---|
56 | |
---|
57 | </ListItem> |
---|
58 | </VarListEntry> |
---|
59 | |
---|
60 | <VarListEntry><Term>ident</Term> |
---|
61 | <ListItem><Para> |
---|
62 | 現在ドライブにあるディスクの CDROM ID と、取得元に追加した際の ラベル を表示します。 |
---|
63 | </Para></ListItem> |
---|
64 | </VarListEntry> |
---|
65 | </VariableList> |
---|
66 | </para> |
---|
67 | </RefSect1> |
---|
68 | |
---|
69 | <RefSect1><Title>オプション</Title> |
---|
70 | &apt-cmdblurb; |
---|
71 | |
---|
72 | <VariableList> |
---|
73 | <VarListEntry><term><option>-d</option></term><term><option>--cdrom</option></term> |
---|
74 | <ListItem><Para> |
---|
75 | マウントポイント - cdrom をマウントする場所を指定します。 |
---|
76 | </Para> |
---|
77 | <Para> |
---|
78 | 標準では &mountpoint; となっています。設定項目 <literal>Acquire::CDROM::Mount</literal> |
---|
79 | </Para></ListItem> |
---|
80 | </VarListEntry> |
---|
81 | |
---|
82 | <VarListEntry><term><option>-r</option></term><term><option>--rename</option></term> |
---|
83 | <ListItem><Para> |
---|
84 | ディスクラベルの変更 - 指定した名前でディスクのラベルを変更・更新します。 |
---|
85 | このオプションにより、<command>apt-cdrom</command> が新しいラベルを入力するよう促します。 |
---|
86 | 設定項目 <literal>APT::CDROM::Rename</literal> |
---|
87 | </Para></ListItem> |
---|
88 | </VarListEntry> |
---|
89 | |
---|
90 | <VarListEntry><term><option>-m</option></term><term><option>--no-mount</option></term> |
---|
91 | <ListItem><Para> |
---|
92 | マウントしない - <command>apt-cdrom</command> がマウントポイントにマウント・アンマウントしないようにします。 |
---|
93 | 設定項目 <literal>APT::CDROM::NoMount</literal> |
---|
94 | </Para></ListItem> |
---|
95 | </VarListEntry> |
---|
96 | |
---|
97 | <VarListEntry><term><option>-f</option></term><term><option>--fast</option></term> |
---|
98 | <ListItem><Para> |
---|
99 | 高速コピー - パッケージファイルが妥当であると仮定し、チェックを全く行いません。 |
---|
100 | このオプションは、このディスクで以前<command>apt-cdrom</command> を行っており、エラーを検出しなかった場合のみ使用すべきです。 |
---|
101 | 設定項目 <literal>APT::CDROM::Fast</literal> |
---|
102 | </Para></ListItem> |
---|
103 | </VarListEntry> |
---|
104 | |
---|
105 | |
---|
106 | <VarListEntry><term><option>-a</option></term><term><option>--thorough</option></term> |
---|
107 | <ListItem><Para> |
---|
108 | 完全パッケージスキャン - CD をスキャンするのに非常に時間がかかりますが、全パッケージファイルを抽出することができます。 |
---|
109 | </Para></ListItem> |
---|
110 | </VarListEntry> |
---|
111 | |
---|
112 | <VarListEntry><term><option>-n</option></term> |
---|
113 | <term><option>--just-print</option></term> |
---|
114 | <term><option>--recon</option></term> |
---|
115 | <term><option>--no-act</option></term> |
---|
116 | <ListItem><Para> |
---|
117 | 変更なし - &sources-list; ファイルの変更や、インデックスファイルの書き込みを行いません。 |
---|
118 | とはいえ、すべてのチェックは行います。 設定項目 <literal>APT::CDROM::NoAct</literal> |
---|
119 | </Para></ListItem> |
---|
120 | </VarListEntry> |
---|
121 | |
---|
122 | &apt-commonoptions; |
---|
123 | |
---|
124 | </VariableList> |
---|
125 | </RefSect1> |
---|
126 | |
---|
127 | <RefSect1><Title>関連項目</Title> |
---|
128 | <para> |
---|
129 | &apt-conf;, &apt-get;, &sources-list;, |
---|
130 | /usr/share/doc/Vine/using-rpm-2.html (Vine Linux Users Manual) |
---|
131 | </para> |
---|
132 | </RefSect1> |
---|
133 | |
---|
134 | <RefSect1><Title>診断メッセージ</Title> |
---|
135 | <Para> |
---|
136 | <command>apt-cdrom</command> は正常終了時に 0 を返します。エラー時には十進の 100 を返します。 |
---|
137 | </Para> |
---|
138 | </RefSect1> |
---|
139 | |
---|
140 | &manbugs; |
---|
141 | &manauthor; |
---|
142 | |
---|
143 | </refentry> |
---|
144 | |
---|
145 | <!-- |
---|
146 | Local Variables: |
---|
147 | mode: nxml |
---|
148 | End: |
---|
149 | --> |
---|