Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <00bf01c2e4e5$f10ed500$4d1f1cac@THEODOLITE>
From: "Bruce Dobrin" <dobrin@imageworks.com>
To: <cygwin@cygwin.com>
Subject: df & non mounted network drives
Date: Fri, 7 Mar 2003 12:12:56 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hi,
(running on 1.3.20)
"df ." seems to work fine on traditionally mounted network drives,  but not
on UNC (//server/share) drives:

dobrin@THEODOLITE:/home/dobrin> cd //billabong/dist
dobrin@THEODOLITE:/billabong/dist> df .
Filesystem           1k-blocks      Used Available Use% Mounted on
df: `.': No such file or directory
dobrin@THEODOLITE:/billabong/dist> net use r: \\\\billabong\\dist
The command completed successfully.

dobrin@THEODOLITE:/billabong/dist> cd /cygdrive/r
dobrin@THEODOLITE:/cygdrive/r> df .
Filesystem           1k-blocks      Used Available Use% Mounted on
r:                    17936380  16384152   1552228  92% /cygdrive/r


Is there an easy way to get this to work that I'm not thinking of?  I'd hate
to write into my scripts to "net use" device every time.
I tried searching "df" and "UNC" in mail list  but didn't see anything.
Thanks
Bruce D.


--
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/

