delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/07/15:14:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <00bf01c2e4e5$f10ed500$4d1f1cac@THEODOLITE>
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: <cygwin AT cygwin DOT com>
Subject: df & non mounted network drives
Date: Fri, 7 Mar 2003 12:12:56 -0800
MIME-Version: 1.0
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 AT THEODOLITE:/home/dobrin> cd //billabong/dist
dobrin AT THEODOLITE:/billabong/dist> df .
Filesystem           1k-blocks      Used Available Use% Mounted on
df: `.': No such file or directory
dobrin AT THEODOLITE:/billabong/dist> net use r: \\\\billabong\\dist
The command completed successfully.

dobrin AT THEODOLITE:/billabong/dist> cd /cygdrive/r
dobrin AT 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/

- Raw text -


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