Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Rob Brown" To: Subject: df --local Date: Thu, 19 Sep 2002 10:59:49 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal In-Reply-To: <1032451555.15115.ezmlm@cygwin.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I am trying to write a script that checks the % free of local drives using df. $ df -a Filesystem 1k-blocks Used Available Use% Mounted on C:\cygwin\bin 19936633 5750854 14185779 29% /usr/bin c:\cygwin\lib 19936633 5750854 14185779 29% /usr/lib \\server1\rob 961282048 850460672 110821376 89% /rob c:\cygwin 19936633 5750854 14185779 29% / c: 19936633 5750854 14185779 29% /cygdrive/c d: 544324 544324 0 100% /cygdrive/d u: 961282048 850460672 110821376 89% /cygdrive/u The problem is that when I run df --local, I only see remotely mounted filesystem: $ df --local Filesystem 1k-blocks Used Available Use% Mounted on \\server1\rob 961282048 850460672 110821376 89% /rob Is this a bug? It seems to be opposite of what you would expect. Also, is there a way to exclude the CDrom drive from the script, since it will always show 100%? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/