OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man3 / statvfs.3
index a9c349c..88519f6 100644 (file)
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
+.\"
+.\" Japanese Version Copyright (c) 2004-2005 Yuichi SATO
+.\"         all rights reserved.
+.\" Translated Tue Jun 29 23:36:41 JST 2004
+.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
+.\" Updated & Modified Sun Jan  9 22:50:29 JST 2005 by Yuichi SATO
+.\"
 .TH STATVFS 3 2003\-08\-22 Linux "Linux Programmer's Manual"
 .SH 名前
-statvfs, fstatvfs \- ファイルシステムの統計を取得する
+statvfs, fstatvfs \- get filesystem statistics
 .SH 書式
 \fB#include <sys/statvfs.h>\fP
 .sp
@@ -42,24 +49,24 @@ statvfs, fstatvfs \- ファイルシステムの統計を取得する
 .br
 \fBint fstatvfs(int \fP\fIfd\fP\fB, struct statvfs *\fP\fIbuf\fP\fB);\fP
 .SH 説明
-関数 \fBstatvfs\fP()  はマウントされたファイルシステムについての情報を返す。 \fIpath\fP
-はマウントされたファイルシステム中の任意のファイルのパス名である。 \fIbuf\fP は、だいたい以下のように定義されている \fIstatvfs\fP
-構造体へのポインタである:
+The function \fBstatvfs\fP()  returns information about a mounted filesystem.
+\fIpath\fP is the pathname of any file within the mounted filesystem.  \fIbuf\fP
+is a pointer to a \fIstatvfs\fP structure defined approximately as follows:
 
 .in +4n
 .nf
 struct statvfs {
-    unsigned long  f_bsize;    /* ファイルシステムのブロックサイズ */
-    unsigned long  f_frsize;   /* フラグメントサイズ */
-    fsblkcnt_t     f_blocks;   /* ファイルシステムのサイズ (f_frsize 単位) */
-    fsblkcnt_t     f_bfree;    /* 解放されているブロック数 */
-    fsblkcnt_t     f_bafvail;   /* 非特権ユーザ用に解放されているブロック数 */
-    fsfilcnt_t     f_files;    /* inode 数 */
-    fsfilcnt_t     f_ffree;    /* 解放されている inode の数 */
-    fsfilcnt_t     f_favail;   /* 非特権ユーザ用に解放されている inode の数 */
-    unsigned long  f_fsid;     /* ファイルシステム ID */
-    unsigned long  f_flag;     /* マウントフラグ */
-    unsigned long  f_namemax;  /* ファイル名の長さの最大値 */
+    unsigned long  f_bsize;    /* filesystem block size */
+    unsigned long  f_frsize;   /* fragment size */
+    fsblkcnt_t     f_blocks;   /* size of fs in f_frsize units */
+    fsblkcnt_t     f_bfree;    /* # free blocks */
+    fsblkcnt_t     f_bavail;   /* # free blocks for unprivileged users */
+    fsfilcnt_t     f_files;    /* # inodes */
+    fsfilcnt_t     f_ffree;    /* # free inodes */
+    fsfilcnt_t     f_favail;   /* # free inodes for unprivileged users */
+    unsigned long  f_fsid;     /* filesystem ID */
+    unsigned long  f_flag;     /* mount flags */
+    unsigned long  f_namemax;  /* maximum filename length */
 };
 .fi
 .in
@@ -71,12 +78,13 @@ struct statvfs {
 POSIX で定義されているビットは以下の通り:
 .TP 
 \fBST_RDONLY\fP
-読み込み専用のファイルシステム。
+Read\-only filesystem.
 .TP 
 \fBST_NOSUID\fP
 \fBexec\fP(3)  に無視される set\-user\-id/set\-group\-ID ビット。
 .LP
-返された構造体の全てのメンバが全てのファイルシステムで 意味のある値であるか否かは、指定されていない。
+It is unspecified whether all members of the returned struct have meaningful
+values on all filesystems.
 
 \fBfstatvfs\fP()  は、ディスクリプタ \fIfd\fP で参照されるオープンされたファイルについて、同じ情報を返す。
 .SH 返り値
@@ -97,7 +105,7 @@ POSIX で定義されているビットは以下の通り:
 この呼び出しがシグナルで中断された。
 .TP 
 \fBEIO\fP
-ファイルシステムからの読み込みの間に I/O エラーが発生した。
+An I/O error occurred while reading from the filesystem.
 .TP 
 \fBELOOP\fP
 (\fBstatvfs\fP()  の場合)  \fIpath\fP にシンボリックリンクが多すぎる。
@@ -112,7 +120,7 @@ POSIX で定義されているビットは以下の通り:
 十分なカーネルメモリがない。
 .TP 
 \fBENOSYS\fP
-ファイルシステムがこの呼び出しをサポートしていない。
+The filesystem does not support this call.
 .TP 
 \fBENOTDIR\fP
 (\fBstatvfs\fP()  の場合)  \fIpath\fP のディレクトリ部分がディレクトリでない。
@@ -137,6 +145,6 @@ Linux カーネルには、このライブラリコールをサポートする
 .SH 関連項目
 \fBstatfs\fP(2)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。