delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/27/03:46:32

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Thu, 27 Dec 2001 10:45:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp-workers AT delorie DOT com
Subject: Re: lfn from scratch...
In-Reply-To: <200112270205.DAA14770@father.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1011227104544.19068G@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 27 Dec 2001, Martin Str|mberg wrote:

> > It's not clear to me how to fix this.  We should either augment those
> > library functions which tinker with file names to know about UNCs, or
> > write code to map between a UNC and a drive letter.  The latter is
> > safer, but since the mapping can be changed behind our back (the user
> > can run "net use" from another DOS box), we cannot cache the mapping,
> > and will need to compute the drive letter each time, which will slow
> > down file-related system calls (especially since network-related calls
> > are slow).
> 
> We could say "if you're out on the net, expect a slowdown".

In some not-so-rare cases, that slowdown could be 1 min or more, if
the network is down or a network drive is inaccessible.

E.g. try "ls \\nonexistent\machine" some day.

- Raw text -


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