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 Date: Thu, 30 Sep 2004 09:53:16 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: luke DOT kendall AT cisra DOT canon DOT com DOT au cc: cygwin AT cygwin DOT com, bug-fileutils AT gnu DOT org Subject: Re: Cygwin df -l option has wrong sense? In-Reply-To: <20040930042528.7B20584CA3@pessard.research.canon.com.au> Message-ID: References: <20040930042528 DOT 7B20584CA3 AT pessard DOT research DOT canon DOT com DOT au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Thu, 30 Sep 2004, luke.kendall wrote: > 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 . > > $ 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 This is a problem with how fileutils tests for drives being local. And, it has been reported before (with a patch to fix it) -- see the thread starting at . Igor P.S. The mount type fix is still on my TODO list :-( -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/