delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/26/14:56:44

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Wed, 26 Dec 2001 21:54:43 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: dj AT delorie DOT com
Message-Id: <5832-Wed26Dec2001215442+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200112261817.fBQIHS616611@envy.delorie.com> (message from DJ
Delorie on Wed, 26 Dec 2001 13:17:28 -0500)
Subject: Re: lfn from scratch...
References: <200112261518 DOT fBQFIGZ15433 AT envy DOT delorie DOT com> <3995-Wed26Dec2001192507+0200-eliz AT is DOT elta DOT co DOT il> <200112261817 DOT fBQIHS616611 AT envy DOT delorie DOT com>
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

> Date: Wed, 26 Dec 2001 13:17:28 -0500
> From: DJ Delorie <dj AT delorie DOT com>
> 
> The first drive checked is *always* the non-lfn one, because I can't
> change to that drive before starting bash (or other djgpp programs).
> So I can't even say "well, start with the lfn one and just never use
> the others, and we'll get by."

Why do you have to change to a drive at all?  You are mapping a
Unix-style filesystem into DOS drive letters, right?  So all you
should need is some data structure that maps the root of each drive to
a Unix directory, and something that says what is the current drive.
How does changing drives enter this picture?

> So it seems that for the non-lfn drives, I need to emulate the lfn
> api, at least in a dumb way (by calling the non-lfn api in its place).

That would be the best strategy, I think.  NTLFN does that, and it
works well.

- Raw text -


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