X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: cygwin 1.7.6: df shows wrong (different?) drive information Date: Thu, 19 Aug 2010 23:14:48 -0400 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 When I run "df -h " where dir is part of a native-NTFS-mounted-drive, then df prints details about the root drive (not the mounted drive). This acts differently if the drive is *also* mounted as a separate top-level drive. In that case, if you specify the mount point itself, it prints information about the root drive, but if you specify any subdir, then it prints the correct drive information. For example (not actual output): Drive 0, 100G: mounted as "C:\" Drive 1, 200G: mounted as "C:\1" Drive 2, 300G: mounted as "C:\2" and "D:\" df -h /cygdrive/c => "100G" df -h /cygdrive/c/1" => "100G" df -h /cygdrive/c/1/subdir" => "100G" df -h /cygdrive/c/2" => "100G" df -h /cygdrive/c/2/subdir" => "300G" In cygwin 1.7.5, the output was "100G", "200G", "200G", "300G", and "300G" respectively. I should point out that I'm still using that special snapshot Corinna made for me, not the stock 1.7.6. -- 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