OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man2 / ustat.2
index 8f63837..e2616c6 100644 (file)
@@ -42,7 +42,7 @@
 .\"
 .TH USTAT 2 2003\-08\-04 Linux "Linux Programmer's Manual"
 .SH 名前
-ustat \- get filesystem statistics
+ustat \- ファイルシステム (file system) の統計を得る
 .SH 書式
 .nf
 \fB#include <sys/types.h>\fP
@@ -54,9 +54,8 @@ ustat \- get filesystem statistics
 \fBint ustat(dev_t \fP\fIdev\fP\fB, struct ustat *\fP\fIubuf\fP\fB);\fP
 .fi
 .SH 説明
-\fBustat\fP()  returns information about a mounted filesystem.  \fIdev\fP is a
-device number identifying a device containing a mounted filesystem.  \fIubuf\fP
-is a pointer to a \fIustat\fP structure that contains the following members:
+\fBustat\fP()  はマウント (mount) されたファイルシステムの情報を返す。 \fIdev\fP は調べるファイルシステムを含んでいるデバイス
+(device) の デバイス番号。 \fIubuf\fP は以下のメンバーを含む ustat 構造体へのポインター:
 .in +4n
 .nf
 
@@ -67,8 +66,7 @@ char    f_fpack[6];   /* Filsys pack name */
 .fi
 .in
 .PP
-後の二つのフィールド \fIf_fname\fP と \fIf_fpack\fP は実装されておらず、常に NULL バイト (\(aq\e0\(aq)
-で埋められる。
+後の二つのフィールド \fIf_fname\fP と \fIf_fpack\fP は実装されておらず、常にヌルバイト (\(aq\e0\(aq) で埋められる。
 .SH 返り値
 成功した場合にはゼロが返され、 \fIubuf\fP が指す \fIustat\fP 構造体が埋められる。 エラーの場合は \-1 が返され、 \fIerrno\fP
 が適切に設定される。
@@ -78,11 +76,11 @@ char    f_fpack[6];   /* Filsys pack name */
 \fIubuf\fP がアクセス可能な空間の外側を指している。
 .TP 
 \fBEINVAL\fP
-\fIdev\fP does not refer to a device containing a mounted filesystem.
+\fIdev\fP がマウントされたファイルシステムを含むデバイスを参照していない。
 .TP 
 \fBENOSYS\fP
-The mounted filesystem referenced by \fIdev\fP does not support this operation,
-or any version of Linux before 1.3.16.
+\fIdev\fP で参照されるマウントされたファイルシステムがこの操作 (operation) を サポートしていないか、Linux のバージョンが
+1.3.16 以前である。
 .SH 準拠
 .\" SVr4 documents additional error conditions ENOLINK, ECOMM, and EINTR
 .\" but has no ENOSYS condition.
@@ -93,14 +91,13 @@ SVr4.
 .SS "HP\-UX における注意"
 .\" Some software tries to use this in order to test whether the
 .\" underlying filesystem is NFS.
-The HP\-UX version of the \fIustat\fP structure has an additional field,
-\fIf_blksize\fP, that is unknown elsewhere.  HP\-UX warns: For some filesystems,
-the number of free inodes does not change.  Such filesystems will return \-1
-in the field \fIf_tinode\fP.  For some filesystems, inodes are dynamically
-allocated.  Such filesystems will return the current number of free inodes.
+HP\-UX 版の構造体 \fIustat\fP には、その他にフィールド \fIf_blksize\fP が存在するが、他では見かけない。 HP\-UX
+は次のように警告している: ファイルシステムの中には、解放されている inode の数を変更しないものもある。 このようなファイルシステムは、フィールド
+\fIf_tinode\fP に \-1 を返す。 ファイルシステムの中には、inode を動的に確保するものもある。
+このようなファイルシステムは、現在解放されている inode の数を返す。
 .SH 関連項目
 \fBstat\fP(2), \fBstatfs\fP(2)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。