This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

df & non mounted network drives


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]