This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug: df -l considers no filesystems local


Cygwin 1.7.2-2, coreutils 8.4-2

On a fresh cygwin install, df -l returns:

df: no file systems processed

while plain df returns
$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
C:/cygwin/bin         28675048  12848260  15826788  45% /usr/bin
C:/cygwin/lib         28675048  12848260  15826788  45% /usr/lib
C:/cygwin             28675048  12848260  15826788  45% /
C:                    28675048  12848260  15826788  45% /cygdrive/c

... this seems to be a bug. Rechecked on a fresh cygwin install to another 
directory, no change.

The manpage says:
 -l, --local    limit listing to local file systems


This breaks a generic unix disk space monitoring script that invokes "df 
-l -P" and parses the output.

(Removing -l in the script lets everything work fine, but that's 
suboptimal, we'll catch network drives as well - which we don't want)

--
-erik	http://useofwords.blogspot.com/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]