OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man2 / ustat.2
index 8f63837..a658a8f 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
 
@@ -78,11 +77,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,11 +92,10 @@ 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 この文書について