aboutsummaryrefslogtreecommitdiff
path: root/ja/man/man1/df.1
diff options
context:
space:
mode:
Diffstat (limited to 'ja/man/man1/df.1')
-rw-r--r--ja/man/man1/df.1150
1 files changed, 150 insertions, 0 deletions
diff --git a/ja/man/man1/df.1 b/ja/man/man1/df.1
new file mode 100644
index 0000000000..f103a2fe2b
--- /dev/null
+++ b/ja/man/man1/df.1
@@ -0,0 +1,150 @@
+.\" Copyright (c) 1989, 1990, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the University of
+.\" California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" @(#)df.1 8.2 (Berkeley) 1/13/94
+.\" jpman %Id: df.1,v 1.2 1997/04/07 05:31:08 mutoh Stab %
+.\" %Id: df.1,v 1.4.2.2 1997/09/19 06:18:10 charnier Exp %
+.\"
+.Dd January 13, 1994
+.Dt DF 1
+.Os BSD 4
+.Sh 名称
+.Nm df
+.Nd ディスクの空き領域等の表示
+.Sh 書式
+.Nm df
+.Op Fl ink
+.Op Fl t Ar type
+.Op Ar file | Ar filesystem ...
+.Sh 解説
+.Nm df
+は、
+.Ar file_system
+で指定したファイルシステム、
+もしくは
+.Ar file
+で指定したファイルが実際に格納されているファイルシステムの空きディスク容量の
+表示を行います。
+ディスク容量は、512 バイトを 1 ブロックとしたブロック数で表示
+します。
+.Nm df
+の引数として、
+.Ar file_system
+も
+.Ar file
+も指定されなかった場合は、マウントされているすべてのファイ
+ルシステムについての情報を表示します。
+ただし、
+.Fl t
+オプションによって、表示するファイルタイプの指示が可能です。
+.Pp
+オプションとしては以下のものがあります:
+.Bl -tag -width Ds
+.It Fl i
+フリーな i ノードの情報も表示します。
+.It Fl k
+デフォルトの 512 バイトではなく、 1024 バイト (1K バイト)
+を 1 ブロックとしてディスク容量を表示します。
+このオプションは、環境変数
+.Ev BLOCKSIZE
+の指示を無効にします。
+.It Fl n
+.Fl n
+オプションが指定されると、
+.Nm df
+は、ファイルシステムから以前に得た情報を返します。
+情報の問い合わせに長い時間を要するおそれのあるファイルシステムに対して
+用いるオプションです。
+このオプションを指定すると、
+.Nm df
+はファイルシステムに新しい情報を問い合わせず、
+以前に取得しておいた最新ではない可能性のある情報を表示します。
+.It Fl t
+.Fl t
+オプションが指定されると、指示されたタイプのファイルシステムに関する情報のみ
+を表示します。
+認識されるファイルシステムのタイプは:
+ufs, nfs, mfs, lfs, msdos, fdesc, portal, kernfs, procfs, afs, isofs,
+iso9660fs, cdfs, cd9660
+です。
+また、いくつかのファイルシステムをまとめた指示も可能で:
+all (デフォルト),
+local (ufs, mfs, lfs, msdos, cd9660),
+misc (fdesc, portal, kernfs, procfs)
+を指示することができます。
+isofs, iso9660fs, cdfs, cd9660 という名前は、同じタイプの
+ファイルシステムを参照する別名です。
+``no'' の文字列をタイプ名の頭に付けるとそのタイプ以外のファイルシステム
+のタイプを指示することができます(例: ``nonfs'' は NFS でないすべての
+ファイルシステムを指示)。
+最初に指示される
+.Fl t
+オプションは、デフォルトを無効にし、それ以降の
+.Fl t
+オプションの指示は、現在のタイプの集合に対して指示されたタイプを付け加
+える(あるいは取り除く)操作になります。
+例えば、
+``df -t ufs -t lfs''
+や
+``df -t local -t nomfs''
+は、UFS と LFS のファイルシステムの情報を表示します。
+.El
+.Sh 環境変数
+.Bl -tag -width BLOCKSIZE
+.It Ev BLOCKSIZE
+環境変数
+.Ev BLOCKSIZE
+が設定されていれば、指定された値をブロックサイズとしてブロック数を表示します。
+.El
+.Sh バグ
+.Ar file_system
+または
+.Ar file
+が指示されてた場合は、
+.Fl n
+オプションと
+.Fl t
+オプションは
+無効になります。
+.Sh 関連項目
+.Xr quota 1 ,
+.Xr statfs 2 ,
+.Xr fstatfs 2 ,
+.Xr getfsstat 2 ,
+.Xr getmntinfo 3 ,
+.Xr fstab 5 ,
+.Xr mount 8 ,
+.Xr quot 8
+.Sh 歴史
+.Nm df
+ユーティリティは
+.At v1
+から登場しています。