Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Cc: <bug-coreutils@gnu.org>
Subject: RE: mkdir -p and network drives
Date: Thu, 5 May 2005 18:44:05 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <Pine.GSO.4.61.0505051317180.20964@slinky.cs.nyu.edu>
Message-ID: <SERRANO9tjxqxPs68K800000243@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 05 May 2005 17:44:15.0692 (UTC) FILETIME=[0E50D8C0:01C5519A]

----Original Message----
>From: Igor Pechtchanski
>Sent: 05 May 2005 18:20

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

  Um, I don't see why.  You only need to check network shares at all when
you have "//" at the start of the command line.  I can't see any reason why
you'd want to check shares on any machine other than //MACHINE either, and
in fact I can't see why you'd care about checking any share on //MACHINE
other than the one specified after '//MACHINE/' in the command line.  Could
you perhaps expond on that statement a bit?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

