Update the userguide from i18n.haiku-os.org
This commit is contained in:
@@ -47,24 +47,23 @@
|
||||
<span>
|
||||
« <a href="attributes.html">属性</a>
|
||||
:: <a href="contents.html" class="uplink">目次</a>
|
||||
:: <a href="queries.html">Queries</a> »
|
||||
:: <a href="queries.html">クエリ</a> »
|
||||
</span></div>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
<div>
|
||||
<div class="box-info">このページの翻訳はまだ完全ではありません。完成するまでは、未完成の部分はオリジナルの英文を使用します。</div>
|
||||
|
||||
<h1>インデックス</h1>
|
||||
|
||||
<p><a href="attributes.html">Attributes</a> and <a href="queries.html">Queries</a> are key features of Haiku. While attributes are useful on their own, to display additional information on a file, for a query on them, they need to be indexed. It puts them into a lookup table, which in turn makes queries lightning fast.<br />
|
||||
The index is part of the filesystem and is kept for every volume/partition separately.</p>
|
||||
<p><a href="attributes.html">属性</a>と<a href="queries.html">クエリ</a>は Haiku の重要な特徴です。属性はそれだけで便利ですが、クエリが追加的なファイルの情報を表示するためには、属性をインデックス化する必要があります。 インデックスは属性をルックアップテーブルに置くので、クエリはきわめて高速になります。<br />
|
||||
インデックスはファイルシステムの一部であり、ボリューム/パーティション毎に別々に保存されます。</p>
|
||||
|
||||
<h2>ターミナルにおけるインデックスコマンド</h2>
|
||||
<p>インデックスを管理するためのコマンドがいくつかあります:</p>
|
||||
<ul>
|
||||
<li><b>lsindex</b> - Displays the indexed attributes on the current volume/partition.<br />
|
||||
These are the attributes that are indexed by default:</li>
|
||||
<li><b>lsindex</b> - 現在のボリューム/パーティションに対するインデックス化された属性を表示します。<br />
|
||||
以下は標準でインデックス化されている属性です:</li>
|
||||
</ul>
|
||||
<pre class="terminal"> ~ ->lsindex
|
||||
BEOS:APP_SIG
|
||||
@@ -109,21 +108,20 @@ size
|
||||
<ul>
|
||||
<li><b>mkindex</b> - ボリューム/パーティションのインデックスに属性を追加します。</li>
|
||||
</ul>
|
||||
<pre>Usage: mkindex [options] <attribute>
|
||||
Creates a new index for the specified attribute.
|
||||
<pre>使い方: mkindex [オプション] <属性>
|
||||
指定された属性に新しいインデックスを作ります。
|
||||
|
||||
-d, --volume=PATH a path on the volume to which the index will be added,
|
||||
defaults to current volume.
|
||||
-t, --type=TYPE the type of the attribute being indexed. One of "int",
|
||||
"llong", "string", "float", or "double".
|
||||
Defaults to "string".
|
||||
--copy-from path to volume to copy the indexes from.
|
||||
-v, --verbose print information about the index being created
|
||||
-d, --volume=PATH インデックスが追加されるボリュームのパス、
|
||||
標準では現在のボリュームに追加されます。
|
||||
-t, --type=TYPE インデックス化された属性のタイプ "int",
|
||||
"llong", "string", "float", "double" のうちのどれかひとつ。
|
||||
標準では "string"
|
||||
--copy-from インデックスをコピーするボリュームへのパス
|
||||
-v, --verbose 作られているインデックスについての情報を表示します
|
||||
|
||||
</pre>
|
||||
<p>Only <b>new</b> files with that attribute come automatically into the index!<br />
|
||||
Existing files have to be added manually by copying them and deleting the originals after that. Alternatively you can use the command <span class="cli">reindex</span>.
|
||||
</p>
|
||||
<p>指定された属性を持ったファイルが<b>新規に</b>作成される場合にのみ、自動的にインデックスに追加されます!<br />
|
||||
既存のファイルは、コピーして、そのあと元のファイルを消すことによって手動で追加する必要があります。あるいは <span class="cli">reindex</span> コマンドを使うこともできます。 </p>
|
||||
<ul>
|
||||
<li><b>reindex</b> - ボリューム/パーティションの新たに作られたインデックスに既存のファイルの属性を追加します。</li>
|
||||
</ul>
|
||||
@@ -158,7 +156,7 @@ INDEX_NAME はファイル属性の名前です。
|
||||
<div class="inner"><span>
|
||||
« <a href="attributes.html">属性</a>
|
||||
:: <a href="contents.html" class="uplink">目次</a>
|
||||
:: <a href="queries.html">Queries</a> »
|
||||
:: <a href="queries.html">クエリ</a> »
|
||||
</span></div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user