OSDN Git Service

(split) LDP: Update the version to 3.53 in PO files
[linuxjm/LDP_man-pages.git] / release / man2 / mount.2
index ac6fa0f..fde64c1 100644 (file)
@@ -1,9 +1,8 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 1993 Rickard E. Faith <faith@cs.unc.edu>
 .\" and Copyright (C) 1994 Andries E. Brouwer <aeb@cwi.nl>
 .\" and Copyright (C) 2002, 2005 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -23,6 +22,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Modified 1996-11-04 by Eric S. Raymond <esr@thyrsus.com>
 .\" Modified 2001-10-13 by Michael Kerrisk <mtk.manpages@gmail.com>
@@ -42,7 +42,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH MOUNT 2 2012\-01\-18 Linux "Linux Programmer's Manual"
+.TH MOUNT 2 2012\-07\-05 Linux "Linux Programmer's Manual"
 .SH 名前
 mount \- ファイルシステムをマウント/アンマウントする
 .SH 書式
@@ -67,8 +67,28 @@ Linux 2.4 以降、ひとつのファイルシステムを複数のマウント
 "minix", "ext2", "ext3", "jfs", "xfs", "reiserfs", "msdos", "proc", "nfs",
 "iso9660" 等)。 適切なモジュールが読み込まれると、さらに別の値が利用可能になるかもしれない。
 
+.\" (as defined in \fI<linux/fs.h>\fP for libc4 and libc5
+.\" and in \fI<sys/mount.h>\fP for glibc2)
 .\" FIXME 2.6.15 added flags for "shared subtree" functionality:
 .\" MS_UNBINDABLE, MS_PRIVATE, MS_SHARED, MS_SLAVE
+.\"
+.\"    MS_PRIVATE.
+.\"            All mounts are private by default. Previously shared mouns
+.\"            can be remarked PRIVATE.
+.\"    MS_SHARED
+.\"            Mount points that are marked SHARED propagate mount events
+.\"            to one another after bing cloned.
+.\"    MS_SLAVE
+.\"            A previously shared mount point can be marked SALVE, meaning
+.\"            it receives propagated events, but does not propagate events.
+.\"    MS_UNBINDABLE
+.\"            mounts cannot be bound into other places, and will not be
+.\"            propagated into new subtrees    
+.\"    mount --make-rshared ==> MS_SHARED | MS_REC
+.\"
+.\" These settings are visible in proc/mountinfo
+.\"
+.\"
 .\" These need to be documented on this page.
 .\" See:
 .\" Documentation/filesystems/sharedsubtree.txt
@@ -84,12 +104,21 @@ Linux 2.4 以降、ひとつのファイルシステムを複数のマウント
 .\" Shared Subtree Concept and Implementation in the Linux Kernel
 .\" Ram Pai
 .\"
+.\" http://www.ibm.com/developerworks/linux/library/l-mount-namespaces/index.html
+.\"     Applying mount namespaces
+.\"
+.\"     Uncover practical applications for advanced Linux mounts features
+.\"     Serge E. Hallyn (sergeh@us.ibm.com), Software Engineer, IBM 
+.\"     Ram Pai (linuxram@us.ibm.com), Software Engineer, IBM
+.\"     Date:  17 Sep 2007
+.\"
 .\" 2.6.25 Added MS_I_VERSION, which needs to be documented.
 .\"
-引き数 \fImountflags\fP は、先頭 16 ビットはマジックナンバー 0xC0ED (\fBMS_MGC_VAL\fP) で、 残りの 16
-ビットがマウントフラグである。 マジックナンバーは、カーネルバージョン 2.4 より前では必須であったが、 現在は必要なく、指定されても無視される。
-マウントフラグは libc4 と libc5 では \fI<linux/fs.h>\fP 、 glibc2 では
-\fI<sys/mount.h>\fP で定義されており、以下の通りである:
+引き数 \fImountflags\fP の上位 16 ビットには、マジックナンバー 0xC0ED
+(\fBMS_MGC_VAL\fP) を指定することができる (マジックナンバーは、
+カーネルバージョン 2.4 より前では必須であったが、
+現在は必要なく、指定されても無視される)。
+\fImountflags\fP の下位 16 ビットにマウントフラグを指定する。
 .TP 
 \fBMS_BIND\fP (Linux 2.4 以降)
 .\" since 2.4.0-test9
@@ -155,9 +184,9 @@ Linux 2.4 以降、ひとつのファイルシステムを複数のマウント
 ファイルの最終アクセス時刻が 1 日以上前の場合、 ファイルの最終アクセス時刻は常に更新される。
 .TP 
 \fBMS_REMOUNT\fP
-すでに存在するマウントを再マウントする。 これにより、すでに存在するマウントの \fImountflags\fP と \fIdata\fP
-を、一度アンマウントしてから再マウントするという作業をせずに 変更できる。 \fIsource\fP と \fItarget\fP は最初の \fBmount\fP()
-呼び出しと同じ値を指定する必要がある。 \fIfilesystemtype\fP は無視される。
+すでに存在するマウントを再マウントする。これにより、すでに存在するマウントの \fImountflags\fP と \fIdata\fP
+を、一度アンマウントしてから再マウントするという作業をせずに 変更できる。 \fItarget\fP は最初の \fBmount\fP()
+呼び出しと同じ値を指定する必要がある。 \fIsource\fP と \fIfilesystemtype\fP は無視される。
 
 \fImountflags\fP のうち \fBMS_RDONLY\fP, \fBMS_SYNCHRONOUS\fP, \fBMS_MANDLOCK\fP は変更可能である。
 カーネル 2.6.16 より前では、 \fBMS_NOATIME\fP, \fBMS_NODIRATIME\fP も変更可能であった。 カーネル 2.4.10
@@ -186,7 +215,7 @@ Linux 2.4 以降では、 \fBMS_NODEV\fP, \fBMS_NOEXEC\fP, \fBMS_NOSUID\fP は
 成功した場合、0 が返される。 失敗した場合、 \-1 が返され、 \fIerrno\fP に適切な値がセットされる。
 .SH エラー
 以下に示すエラーは、ファイルシステムに依存しないものである。 それぞれのファイルシステムタイプには固有のエラーが存在する場合があり、
-独自の動作をすることもある。詳しくはカーネルのソースを見て欲しい。
+独自の動作をすることもある。詳しくは Linux カーネルのソースを見て欲しい。
 .TP 
 \fBEACCES\fP
 .\" mtk: Probably: write permission is required for MS_BIND, with
@@ -242,7 +271,7 @@ Linux 2.4 以降では、 \fBMS_NODEV\fP, \fBMS_NOEXEC\fP, \fBMS_NOSUID\fP は
 .\" FIXME: Definitions of the so-far-undocumented MS_UNBINDABLE, MS_PRIVATE,
 .\"  MS_SHARED, and MS_SLAVE were (also) only added to glibc headers in 2.12.
 \fBMS_DIRSYNC\fP, \fBMS_MOVE\fP, \fBMS_REC\fP, \fBMS_RELATIME\fP, \fBMS_STRICTATIME\fP の定義が
-glibc ã\81®ã\83\98ã\83\83ã\83\80ã\81«è¿½å\8a ã\81\95ã\82\8cã\81\9fã\81®ã\81¯ ã\83\90ã\83¼ã\82¸ã\83§ã\83³ 2.12 ã\81«ã\81\8aã\81\84ã\81¦ã\81®ã\81¿ã\81§ã\81\82ã\82\8bã\80\82
+glibc のヘッダに追加されたのは バージョン 2.12 においてである。
 .SH 準拠
 この関数は Linux 固有の関数であり、移植を考慮したプログラムでは 使用すべきでない。
 .SH 注意
@@ -275,4 +304,9 @@ set\-GID のプログラムを実行しようとすると、 \fBEPERM\fP エラ
 Linux 独自のファイル \fI/proc/PID/mounts\fP では、指定された ID を持つプロセスのマウント名前空間における
 マウントポイントのリストが公開されている。詳細は \fBproc\fP(5)  を参照のこと。
 .SH 関連項目
-\fBumount\fP(2), \fBpath_resolution\fP(7), \fBmount\fP(8), \fBumount\fP(8)
+\fBumount\fP(2), \fBnamespaces\fP(7), \fBpath_resolution\fP(7), \fBmount\fP(8),
+\fBumount\fP(8)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。