OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man2 / truncate.2
index 244d9b1..a6313c1 100644 (file)
@@ -146,12 +146,13 @@ inode の更新時に I/O エラーが発生した。
 パス名の構成要素がディレクトリではない。
 .TP 
 \fBEPERM\fP
-.\" This happens for at least MSDOS and VFAT file systems
+.\" This happens for at least MSDOS and VFAT filesystems
 .\" on kernel 2.6.13
-下層にあるファイルシステムでは、現在のファイル長を越えて ファイルを伸長することができない。
+The underlying filesystem does not support extending a file beyond its
+current size.
 .TP 
 \fBEROFS\fP
-ファイルが読み込み専用 (read only) のファイル・システム上にある。
+The named file resides on a read\-only filesystem.
 .TP 
 \fBETXTBSY\fP
 指定されたファイルは実行されているファイルである。
@@ -182,15 +183,15 @@ inode の更新時に I/O エラーが発生した。
 4.4BSD, SVr4, POSIX.1\-2001 (これらのコールは 4.2BSD で初めて登場した)。
 .SH 注意
 .\" At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
-「説明」の節で述べた詳細は XSI 準拠のシステムについてのものである。
-XSI 非準拠のシステムの場合、POSIX 標準は \fBftruncate\fP() に対して \fIlength\fP が
-ファイルの長さより長かった場合、 エラーを返すかファイルを伸張するかの二つの
-動作を許容している。 \fBtruncate\fP() に対しては全く規定されていない。
-ほとんどの UNIX 実装と同様、Linux はネイティブ (Linux 由来) の ファイルシステム
-の扱いでは XSI 要求仕様にしたがっている。 しかしながら、いくつかの非ネイティブ
-のファイルシステムでは、 \fBtruncate\fP() や \fBftruncate\fP() を使って現在のファイル
-長を越えてファイルを伸長することができない。 Linux での有名な例としては
-VFAT がある。
+The details in DESCRIPTION are for XSI\-compliant systems.  For
+non\-XSI\-compliant systems, the POSIX standard allows two behaviors for
+\fBftruncate\fP()  when \fIlength\fP exceeds the file length (note that
+\fBtruncate\fP()  is not specified at all in such an environment): either
+returning an error, or extending the file.  Like most UNIX implementations,
+Linux follows the XSI requirement when dealing with native filesystems.
+However, some nonnative filesystems do not permit \fBtruncate\fP()  and
+\fBftruncate\fP()  to be used to extend a file beyond its current length: a
+notable example on Linux is VFAT.
 
 元々の Linux の \fBtruncate\fP() と \fBftruncate\fP() システムコールは
 大きなファイルオフセットを扱えるように設計されていなかった。
@@ -209,6 +210,6 @@ glibc 2.12 のヘッダファイルにはバグがあり、 \fBftruncate\fP()  
 .SH 関連項目
 \fBopen\fP(2), \fBstat\fP(2), \fBpath_resolution\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。