[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pkgsrc/doc/guide/files/files.xml 1.3



以下のページの翻訳をしました。ツッコミをお願いします。

pkgsrc/doc/guide/files/files.xml 1.3

月曜日までに異議がなければ、 commit します。

原文は
http://cvsweb.NetBSD.org/bsdweb.cgi/%7Echeckout%7E/pkgsrc/doc/guide/files/files.xml?rev=1.3&content-type=text/plain
http://cvsweb.NetBSD.org/bsdweb.cgi/%7Echeckout%7E/htdocs/Documentation/pkgsrc/files.html?rev=1.2&content-type=text/html
で、訳文は
http://www.na.rim.or.jp/%7Ekano/tmp/pkgsrc/doc/guide/files/files.xml
http://www.na.rim.or.jp/%7Ekano/tmp/Documentation/pkgsrc/files.html
に置いてあります。

以下は原文との差分です。

--- files.xml.orig	2006-10-15 14:08:00.000000000 +0900
+++ files.xml	2006-11-18 11:06:59.000000000 +0900
@@ -1,20 +1,22 @@
 <!-- $NetBSD: files.xml,v 1.3 2006/10/02 17:56:27 wiz Exp $ -->
+<!-- Based on english version: -->
+<!-- NetBSD: files.xml,v 1.3 2006/10/02 17:56:27 wiz Exp   -->
 
 <chapter id="files">
-<title>Directory layout of the installed files</title>
+<title>インストールされたファイルのディレクトリー配置</title>
 
-<para>The files that are installed by pkgsrc are organized in a way that
-is similar to what you find in the <filename>/usr</filename> directory
-of the base system. But some details are different. This is because
-pkgsrc initially came from FreeBSD and had adopted its file system
-hierarchy. Later it was largely influenced by NetBSD. But no matter
-which operating system you are using pkgsrc with, you can expect the
-same layout for pkgsrc.</para>
+<para>pkgsrc を使ってインストールされたファイルは、ベースシステムの
+<filename>/usr</filename> ディレクトリー以下と似た配置で体系化されていますが、
+細かい点がいくらか異なっています。これは、pkgsrc がもともと FreeBSD
+から派生したものであり、FreeBSD のファイルシステム階層に準じていたからです。
+その後は NetBSD の影響を大きく受けています。
+ただし、pkgsrc をどのオペレーティングシステムで使っているかにかかわらず、
+pkgsrc の配置は同じになると思っていただいて結構です。</para>
 
-<para>There are mainly four root directories for pkgsrc, which are all
-configurable in the <filename>bootstrap/bootstrap</filename> script.
-When pkgsrc has been installed as root, the default locations
-are:</para>
+<para>pkgsrc 用のルートディレクトリーは、主に四つあり、いずれも
+<filename>bootstrap/bootstrap</filename> スクリプトで設定可能です。
+pkgsrc を root としてインストールした場合の、
+標準の場所は以下のとおりです。</para>
 
 <programlisting>
     LOCALBASE=              /usr/pkg
@@ -23,8 +25,8 @@
     PKGDBDIR=               /var/db/pkg
 </programlisting>
 
-<para>In unprivileged mode (when pkgsrc has been installed as any other
-user), the default locations are:</para>
+<para>非特権モード (pkgsrc を root 以外のユーザーとしてインストールした場合)
+での、標準の場所は以下のとおりです。</para>
 
 <programlisting>
     LOCALBASE=              ${HOME}/pkg
@@ -33,132 +35,118 @@
     PKGDBDIR=               ${HOME}/pkg/var/db/pkg
 </programlisting>
 
-<para>What these four directories are for, and what they look like is
-explained below.</para>
+<para>この四つのディレクトリーの使用目的とその内容は、
+以下で説明します。</para>
 
 <itemizedlist>
 
-<listitem><para><varname>LOCALBASE</varname> corresponds to the
-<filename>/usr</filename> directory in the base system. It is the
-<quote>main</quote> directory where the files are installed and contains
-the well-known subdirectories like <filename>bin</filename>,
+<listitem><para><varname>LOCALBASE</varname> は、ベースシステムの
+<filename>/usr</filename> ディレクトリーに対応します。
+ファイルがインストールされる場所として<quote>主たる</quote>ディレクトリーであり、
+<filename>bin</filename>,
 <filename>include</filename>, <filename>lib</filename>,
-<filename>share</filename> and
-<filename>sbin</filename>.</para></listitem>
+<filename>share</filename>,
+<filename>sbin</filename> などのよく知られたサブディレクトリーがあります。</para></listitem>
 
-<listitem><para><varname>VARBASE</varname> corresponds to
-<filename>/var</filename> in the base system. Some programs (especially
-games, network daemons) need write access to it during normal
-operation.</para></listitem>
+<listitem><para><varname>VARBASE</varname> は、ベースシステムの
+<filename>/var</filename> に対応します。
+一部のプログラム (特に、ゲームとネットワークデーモン) は、
+通常の操作時に、このディレクトリーへの書き込み権限を持っている必要があります。</para></listitem>
 
-<listitem><para><varname>PKG_SYSCONFDIR</varname> corresponds to
-<filename>/etc</filename> in the base system. It contains configuration
-files of the packages, as well as pkgsrc's <filename>mk.conf</filename>
-itself.</para></listitem>
+<listitem><para><varname>PKG_SYSCONFDIR</varname> は、ベースシステムの
+<filename>/etc</filename> に対応します。
+pkgsrc 自体の設定ファイル <filename>mk.conf</filename> のほか、
+個々のパッケージの設定ファイルを含みます。</para></listitem>
 
 </itemizedlist>
 
 <sect1 id="files.localbase">
-<title>File system layout in <literal>${LOCALBASE}</literal></title>
+<title><literal>${LOCALBASE}</literal> 以下のファイルシステム配置</title>
 
-<para>The following directories exist in a typical pkgsrc installation
-in <filename>${LOCALBASE}</filename>.</para>
+<para>pkgsrc を通常にインストールした場合、<filename>${LOCALBASE}</filename>
+以下には以下のディレクトリーが存在します。</para>
 
 <variablelist>
 
 <varlistentry><term><filename>bin</filename></term>
-<listitem><para>Contains executable programs that are intended to be
-directly used by the end user.</para></listitem></varlistentry>
+<listitem><para>エンドユーザーが直接使うことを前提とした、
+実行形式のプログラムを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>emul</filename></term>
-<listitem><para>Contains files for the emulation layers of various other
-operating systems, especially for
-NetBSD.</para></listitem></varlistentry>
+<listitem><para>特に NetBSD 用の、
+他の各種オペレーティングシステムのエミュレーション層用のファイルを含みます。</para></listitem></varlistentry>
 
-<varlistentry><term><filename>etc</filename> (the usual location of
-<filename>${PKG_SYSCONFDIR}</filename>)</term><listitem><para>Contains
-the configuration files.</para></listitem></varlistentry>
+<varlistentry><term><filename>etc</filename> (<filename>${PKG_SYSCONFDIR}</filename>
+の通常の場所)</term><listitem><para>設定ファイルを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>include</filename></term>
-<listitem><para>Contains headers for the C and C++ programming
-languages.</para></listitem></varlistentry>
+<listitem><para>C および C++
+プログラミング言語用のヘッダーを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>info</filename></term>
-<listitem><para>Contains GNU info files of various
-packages.</para></listitem></varlistentry>
+<listitem><para>各種パッケージの
+GNU info ファイルを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>lib</filename></term>
-<listitem><para>Contains shared and static
-libraries.</para></listitem></varlistentry>
+<listitem><para>静的共有ライブラリーを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>libdata</filename></term>
-<listitem><para>Contains data files that don't change after
-installation. Other data files belong into
-<filename>${VARBASE}</filename>.</para></listitem></varlistentry>
+<listitem><para>インストール後に変更されることがないデータファイルを含みます。
+変更されることのあるデータファイルは
+<filename>${VARBASE}</filename> 以下に置かれます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>libexec</filename></term>
-<listitem><para>Contains programs that are not intended to be used by
-end users, such as helper programs or network
-daemons.</para></listitem></varlistentry>
+<listitem><para>補助プログラムやネットワークデーモンなど、
+エンドユーザーが直接使うことを前提としないプログラムを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>libexec/cgi-bin</filename></term>
-<listitem><para>Contains programs that are intended to be executed as
-CGI scripts by a web server.</para></listitem></varlistentry>
+<listitem><para>web サーバーが
+CGI スクリプトとして実行することを前提としたプログラムを含みます。</para></listitem></varlistentry>
 
-<varlistentry><term><filename>man</filename> (the usual value of
-<filename>${PKGMANDIR}</filename>)</term><listitem><para>Contains brief
-documentation in form of manual pages.</para></listitem></varlistentry>
+<varlistentry><term><filename>man</filename> (<filename>${PKGMANDIR}</filename>
+の通常の値)</term><listitem><para>マニュアルページ形式の短いドキュメンテーションを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>sbin</filename></term>
-<listitem><para>Contains programs that are intended to be used only by
-the super-user.</para></listitem></varlistentry>
+<listitem><para>スーパーユーザーだけが使うことを前提としたプログラムを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>share</filename></term>
-<listitem><para>Contains platform-independent data files that don't
-change after installation.</para></listitem></varlistentry>
+<listitem><para>インストール後に変更されることがないプラットフォーム独立のデータファイルを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>share/doc</filename></term>
-<listitem><para>Contains documentation files provided by the
-packages.</para></listitem></varlistentry>
+<listitem><para>パッケージに附属するドキュメンテーションファイルを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>share/examples</filename></term>
-<listitem><para>Contains example files provided by the packages. Among
-others, the original configuration files are saved here and copied to
-<filename>${PKG_SYSCONFDIR}</filename> during
-installation.</para></listitem></varlistentry>
+<listitem><para>パッケージに附属する例ファイルを含みます。
+設定ファイルの原本も、インストール時にここに保存されたうえで
+<filename>${PKG_SYSCONFDIR}</filename>
+へコピーされます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>share/examples/rc.d</filename></term>
-<listitem><para>Contains the original files for rc.d
-scripts.</para></listitem></varlistentry>
+<listitem><para>rc.d
+スクリプトファイルの原本を含みます。</para></listitem></varlistentry>
 
-<varlistentry><term><filename>var</filename> (the usual location of
-<filename>${VARBASE}</filename>)</term> <listitem><para>Contains files
-that may be modified after
-installation.</para></listitem></varlistentry>
+<varlistentry><term><filename>var</filename> (<filename>${VARBASE}</filename>
+の通常の場所)</term> <listitem><para>インストール後に変更されることのあるファイルを含みます。</para></listitem></varlistentry>
 
 </variablelist>
 </sect1>
 
 <sect1 id="files.varbase">
-<title>File system layout in <literal>${VARBASE}</literal></title>
+<title><literal>${VARBASE}</literal> 以下のファイルシステム配置</title>
 
 <variablelist>
 
-<varlistentry><term><filename>db/pkg</filename> (the usual location of
-<filename>${PKG_DBDIR}</filename>)</term><listitem><para>Contains
-information about the currently installed
-packages.</para></listitem></varlistentry>
+<varlistentry><term><filename>db/pkg</filename> (<filename>${PKG_DBDIR}</filename>
+の通常の場所)</term><listitem><para>現在インストールされているパッケージに関する情報を含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>games</filename></term>
-<listitem><para>Contains highscore
-files.</para></listitem></varlistentry>
+<listitem><para>最高得点ファイルを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>log</filename></term>
-<listitem><para>Contains log files.</para></listitem></varlistentry>
+<listitem><para>ログファイルを含みます。</para></listitem></varlistentry>
 
 <varlistentry><term><filename>run</filename></term>
-<listitem><para>Contains informational files about daemons that are
-currently running.</para></listitem></varlistentry>
+<listitem><para>現在実行されているデーモンに関する情報ファイルを含みます。</para></listitem></varlistentry>
 
 </variablelist>