| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <66181EF4.6BA889E7@veritas.com> |
| Date: | Thu, 11 Apr 2024 10:33:40 -0700 |
| From: | Bob McGowan <rmcgowan AT veritas DOT com> |
| Organization: | VERITAS Software |
| X-Mailer: | Mozilla 4.73 [en] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | Cygwin <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | df output for current directory is "odd" |
I have several mounts from various locations on a single drive:
$ mount
Device Directory Type Flags
c:\Program Files\Microsoft Visual Studio\VC98\include /ms/vc98/include system binmode
c:\Program Files\jdk1.3 /usr/java system binmode
d:\debian-potato /usr/cd-image/debian-potato system binmode
\\megami\homes /usr/bob/megami system binmode
d:\cygwin-xwin /usr/cygwin-xwin system binmode
c:\cygwin\bin /usr/bin system binmode
c:\cygwin\lib /usr/lib system binmode
c:\usr\bob /usr/bob system binmode
c:\cygwin / system binmode
\\.\a: /dev/fd0 system binmode
a: /mnt/floppy system binmode
e: /mnt/cdrom system binmode
When I'm in my home directory and do a 'df .' to get info for the current directory, df reports the "wrong" mount point:
$ pwd;df .
/usr/bob/src/c
Filesystem 1024-blocks Used Available Capacity Mounted on
c:\Program Files\Microsoft Visual Studio\VC98\include
4184900 4113179 71721 98% /ms/vc98/include
The reported mount point is the first one in the 'mount' output relating to this disk device (C:). This is "correct" in that the numbers are the same, incorrect based on
the current path. And somewhat confusing.
Is this a known issue? I tried searching the archives and could not find anything relating to it, so far as I could tell.
--
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |