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 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.