bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fileutils command "df" appears to not handle all file-systems und er MS-


From: Stachour, Paul
Subject: fileutils command "df" appears to not handle all file-systems und er MS-DOS
Date: Mon, 2 Oct 2000 16:31:34 -0500

I want to know the amount of free-space on a particular disk, a dos-disk.
So, I used the "df" command thusly:

bash-2.02$ df d:
Filesystem         1024-blocks  Used Available Capacity Mounted on
c:                   2096160 2028672    67488     97%   /
bash-2.02$
   I was surprised when it gave me the space-values for the "C:" drive
instead of "D:".
I tried other variants of the command, and got data such as

bash-2.02$ df -h
Filesystem            Size  Used  Avail  Capacity Mounted on
\\.\tape1:            2.2G  2.0G   285M     88%   /dev/st1
\\.\tape0:            2.2G  2.0G   285M     88%   /dev/st0
\\.\b:                2.2G  2.0G   285M     88%   /dev/fd1
\\.\a:                2.2G  2.0G   285M     88%   /dev/fd0
c:                    2.0G  1.9G    81M     96%   /

however, this did not give me space for "d:".  Neither did

bash-2.02$ df -k //d
Filesystem         1024-blocks  Used Available Capacity Mounted on
c:                   2096160 2028672    67488     97%   /
bash-2.02$

I am using versions 3.16 and 4.0 for these tests, as shown by

bash-2.02$ df --version
df (GNU fileutils) 3.16

bash-2.02$ ./df.exe --version
df (GNU fileutils) 4.0

I get similar results on both versions.  It appears that the FILE I give as
an argument
may be being ignored?  Or am I missing something about the mappings?

Thanks, ..Paul S. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]