OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man2 / truncate.2
index a6313c1..2b21b26 100644 (file)
@@ -148,11 +148,10 @@ inode の更新時に I/O エラーが発生した。
 \fBEPERM\fP
 .\" 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
-The named file resides on a read\-only filesystem.
+ファイルが読み込み専用 (read only) のファイルシステム上にある。
 .TP 
 \fBETXTBSY\fP
 指定されたファイルは実行されているファイルである。
@@ -183,15 +182,15 @@ The named file resides on a read\-only filesystem.
 4.4BSD, SVr4, POSIX.1\-2001 (これらのコールは 4.2BSD で初めて登場した)。
 .SH 注意
 .\" At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
-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.
+「説明」の節で述べた詳細は XSI 準拠のシステムについてのものである。
+XSI 非準拠のシステムの場合、POSIX 標準は \fBftruncate\fP() に対して \fIlength\fP が
+ファイルの長さより長かった場合、 エラーを返すかファイルを伸張するかの二つの
+動作を許容している。 \fBtruncate\fP() に対しては全く規定されていない。
+ほとんどの UNIX 実装と同様、Linux はネイティブ (Linux 由来) の ファイルシステム
+の扱いでは XSI 要求仕様にしたがっている。 しかしながら、いくつかの非ネイティブ
+のファイルシステムでは、 \fBtruncate\fP() や \fBftruncate\fP() を使って現在のファイル
+長を越えてファイルを伸長することができない。 Linux での有名な例としては
+VFAT がある。
 
 元々の Linux の \fBtruncate\fP() と \fBftruncate\fP() システムコールは
 大きなファイルオフセットを扱えるように設計されていなかった。