From: Stéphane Graber Date: Wed, 28 Jul 2021 19:13:52 +0000 (-0400) Subject: Fix typos X-Git-Tag: lxc-5.0.0~132^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fe481d5f4a522ae58e2d9fd082b02dfd40ad30;p=thirdparty%2Flxc.git Fix typos This fixes all typos identified by lintian. Signed-off-by: Stéphane Graber --- diff --git a/doc/ja/lxc-user-nic.sgml.in b/doc/ja/lxc-user-nic.sgml.in index 35060345c..277475e2a 100644 --- a/doc/ja/lxc-user-nic.sgml.in +++ b/doc/ja/lxc-user-nic.sgml.in @@ -96,7 +96,7 @@ by KATOH Yasufumi @LXC_USERNIC_DB@. It ensures that the calling user is privileged over the network namespace to which the interface will be attached. - lxc-user-nic also allows to delete network devices. + lxc-user-nic also allows one to delete network devices. Currently only ovs ports can be deleted. --> このプログラムは、@LXC_USERNIC_CONF@ という設定ファイルを参照して、呼び出したユーザが作成することができるインターフェースの数と、どのブリッジに接続するかを決定します。 diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in index 607a87a93..a81457018 100644 --- a/doc/ja/lxc.container.conf.sgml.in +++ b/doc/ja/lxc.container.conf.sgml.in @@ -2087,7 +2087,7 @@ by KATOH Yasufumi ignore settings on systems that only use the unified hierarchy. Conversely, it will ignore options on systems that only use legacy - hierachies. + hierarchies. --> LXC は cgroup1(レガシー階層構造)と cgroup2(単一階層構造)に対する設定を、異なる設定プレフィックスを使って区別しています。 cgroup1 に対する設定を変更するには というプレフィックスを使う必要があり、cgroup2 の設定を変更するには を使う必要があります。 @@ -2105,7 +2105,7 @@ by KATOH Yasufumi however do not fall into the category of distributing a system resource, instead they are often referred to as "utility" controllers. One utility controller is the device controller. Instead of - distributing a system resource it allows to manage device access. + distributing a system resource it allows one to manage device access. --> cgroup 階層の本質は、プロセスを階層的に構造化する方法です。通常は、cgroup 階層では 1 つ以上の「コントローラー」が有効になっています。 通常、cgroup 階層の「コントローラー」は階層に従って特定のタイプのシステムリソースを分配する役割を果たします。 @@ -2218,7 +2218,7 @@ by KATOH Yasufumi 前述の 2 つのルールのいずれかを指定すると、それ以前に指定していたルールがすべてクリアされます。つまり、デバイスリストがリセットされます。 diff --git a/doc/lxc.container.conf.sgml.in b/doc/lxc.container.conf.sgml.in index f3eb13d71..36e2cb2f2 100644 --- a/doc/lxc.container.conf.sgml.in +++ b/doc/lxc.container.conf.sgml.in @@ -1562,7 +1562,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ignore settings on systems that only use the unified hierarchy. Conversely, it will ignore options on systems that only use legacy - hierachies. + hierarchies. @@ -1575,7 +1575,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA however do not fall into the category of distributing a system resource, instead they are often referred to as "utility" controllers. One utility controller is the device controller. Instead of - distributing a system resource it allows to manage device access. + distributing a system resource it allows one to manage device access. @@ -1648,7 +1648,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Specifying any of the aformentioned two rules will cause all + Specifying any of the aforementioned two rules will cause all previous rules to be cleared, i.e. the device list will be reset. diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 7f4fb13fb..ca2bb0d37 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -2818,7 +2818,7 @@ static int set_config_rootfs_options(const char *key, const char *value, if (mnt_opts->create_dir || mnt_opts->create_file || mnt_opts->optional || mnt_opts->relative) - return syserror_set(-EINVAL, "Invalid LXC specifc mount option for rootfs mount"); + return syserror_set(-EINVAL, "Invalid LXC specific mount option for rootfs mount"); mnt_opts->data = move_ptr(mdata); rootfs->options = move_ptr(opts);