OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man2 / mount.2
index f749033..dba0b64 100644 (file)
@@ -37,7 +37,7 @@
 .\" 2008-10-06, mtk: move umount*() material into separate umount.2 page.
 .\" 2008-10-06, mtk: Add discussion of namespaces.
 .\"
-.TH MOUNT 2 2010-05-22 "Linux" "Linux Programmer's Manual"
+.TH MOUNT 2 2010-09-10 "Linux" "Linux Programmer's Manual"
 .SH NAME
 mount \- mount file system
 .SH SYNOPSIS
@@ -101,7 +101,7 @@ and in \fI<sys/mount.h>\fP for glibc2) in the low order 16 bits:
 .\" 2.6.25 Added MS_I_VERSION, which needs to be documented.
 .\"
 .TP
-.BR MS_BIND " (Linux 2.4 onwards)"
+.BR MS_BIND " (Linux 2.4 onward)"
 .\" since 2.4.0-test9
 Perform a bind mount, making a file or a directory subtree visible at
 another point within a file system.
@@ -259,10 +259,10 @@ flag to
 .BR open (2)
 was specified for all file opens to this file system).
 .PP
-From Linux 2.4 onwards, the
+From Linux 2.4 onward, the
 .BR MS_NODEV ", " MS_NOEXEC ", and " MS_NOSUID
 flags are settable on a per-mount-point basis.
-From kernel 2.6.16 onwards,
+From kernel 2.6.16 onward,
 .B MS_NOATIME
 and
 .B MS_NODIRATIME
@@ -287,7 +287,7 @@ is set appropriately.
 .SH ERRORS
 The error values given below result from filesystem type independent
 errors.
-Each filesystem type may have its own special errors and its
+Each file-system type may have its own special errors and its
 own special behavior.
 See the kernel source code for details.
 .TP
@@ -295,12 +295,12 @@ See the kernel source code for details.
 A component of a path was not searchable.
 (See also
 .BR path_resolution (7).)
-Or, mounting a read-only filesystem was attempted without giving the
+Or, mounting a read-only file system was attempted without giving the
 .B MS_RDONLY
 flag.
 Or, the block device
 .I source
-is located on a filesystem mounted with the
+is located on a file system mounted with the
 .B MS_NODEV
 option.
 .\" mtk: Probably: write permission is required for MS_BIND, with
@@ -378,6 +378,17 @@ is out of range.
 .TP
 .B EPERM
 The caller does not have the required privileges.
+.SH VERSIONS
+The definitions of
+.BR MS_DIRSYNC ,
+.BR MS_MOVE ,
+.BR MS_REC ,
+.BR MS_RELATIME ,
+and
+.BR MS_STRICTATIME
+were only added to glibc headers in version 2.12.
+.\" 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.
 .SH "CONFORMING TO"
 This function is Linux-specific and should not be used in
 programs intended to be portable.
@@ -392,7 +403,7 @@ when a different
 was added to \fI<mman.h>\fP.
 .LP
 Before Linux 2.4 an attempt to execute a set-user-ID or set-group-ID program
-on a filesystem mounted with
+on a file system mounted with
 .B MS_NOSUID
 would fail with
 .BR EPERM .