delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.3 required=5.0 tests=BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD,URI_BLOGSPOT |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 31 Mar 2010 19:59:28 +0200 (CEST) |
From: | =?UTF-8?Q?Erik_Inge_Bols=C3=B8?= <knan-cygwin AT anduin DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | bug: df -l considers no filesystems local |
Message-ID: | <alpine.BSF.2.00.1003311928460.92896@anduin.net> |
User-Agent: | Alpine 2.00 (BSF 1167 2008-08-23) |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |