This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bug: df -l considers no filesystems local
- From: Erik Inge Bolsà <knan-cygwin at anduin dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 31 Mar 2010 19:59:28 +0200 (CEST)
- Subject: 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