www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/30/00:26:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 30 Sep 2004 14:25:25 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Cygwin df -l option has wrong sense?
To: cygwin AT cygwin DOT com, bug-fileutils AT gnu DOT org
MIME-Version: 1.0
Message-Id: <20040930042528.7B20584CA3@pessard.research.canon.com.au>

According to df --help, the -l option means to list only local drives.
But in practice it seems to do the exact opposite:

    $ df -k /cygdrive/c/cygwin
    Filesystem           1k-blocks      Used Available Use% Mounted on
    C:\cygwin             39070048  32015012   7055036  82% /

    $ df -k -l /cygdrive/c/cygwin
    Filesystem           1k-blocks      Used Available Use% Mounted on

    $ df -k //handel/d
    Filesystem           1k-blocks      Used Available Use% Mounted on
    x:                     4811432   2402244   2409188  50% /cygdrive/x

    $ df --help
    Usage: df [OPTION]... [FILE]...
    Show information about the filesystem on which each FILE resides,
    or all filesystems by default.
    [...]
      -l, --local           limit listing to local filesystems
    [...]
    Report bugs to <bug-fileutils AT gnu DOT org>.

    $ uname -a
    CYGWIN_NT-5.1 DOYLE 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin

Have I misunderstood?

luke


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019