This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mkdir -p and network drives
On Thu, 5 May 2005, Paul Eggert wrote:
> Eric Blake <ebb9@XXX.XXX> writes:
>
> > //MACHINE currently generates ENOENT, whether or not there is a
> > server on the network with that name, and mkdir(2), stat(2), and
> > chdir(2) with an argument of "//MACHINE" fail.
>
> That's certainly a hassle. Let's not worry about going through
> zillions of lines of application code working around that
> incompatibility. Let's get Cygwin fixed instead.
One potential problem is that on Windows, using NetShareEnum when checking
the path will mean that every time someone does "mkdir -p", the command
will have to wait until all network shares are examined. This could
result in quite a bit of a delay, to say the least...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/