OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man2 / mount.2
index 60f129c..1133ebf 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\-05\-10 Linux "Linux Programmer's Manual"
+.TH MOUNT 2 2012\-07\-05 Linux "Linux Programmer's Manual"
 .SH 名前
 mount \- ファイルシステムをマウント/アンマウントする
 .SH 書式
@@ -71,6 +71,24 @@ Linux 2.4 以降、ひとつのファイルシステムを複数のマウント
 .\" 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
@@ -86,6 +104,14 @@ 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
@@ -158,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
@@ -189,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
@@ -278,8 +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.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。