Re: Determining used disk space
On Wed, Aug 14, 2002 at 10:51:48AM -0400, R. Bradley Tilley wrote:
> 'df -a' shows objects that use space such as .gnupg and other hidden
> directories and files. You make it out to seem that it does not.
>
> You are correct, you don't need to know that proc (a virtual fs) is using 0 of
> 0 bytes, however, you may want to know that .emacs is 994 bytes.
>
> the -l lists in a more orderly format.
You're not talking about the standard Debian df, then. According to
`man df`:
-a, --all
include filesystems having 0 blocks
-l, --local
limit listing to local filesystems
$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 3028080 2766272 107988 96% /
/dev/hda6 8443964 6957604 1057428 87% /home
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 2.9G 2.6G 105M 96% /
/dev/hda6 8.1G 6.6G 1.0G 87% /home
$ df -alh
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 2.9G 2.6G 105M 96% /
proc 0 0 0 - /proc
devpts 0 0 0 - /dev/pts
/dev/hda6 8.1G 6.6G 1.0G 87% /home
Filenames are not relevant to (this) df. I initially suspected that
you were confusing df with du, but `man du` doesn't agree with you
about the meaning of -a and -l either.
--
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius
Innocence is no protection when governments go bad. - Tom Swiss
Reply to: