www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/26/15:04:33

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Wed, 26 Dec 2001 15:04:28 -0500
Message-Id: <200112262004.fBQK4SZ17355@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <5832-Wed26Dec2001215442+0200-eliz@is.elta.co.il>
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> <5832-Wed26Dec2001215442+0200-eliz AT is DOT elta DOT co DOT il>
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

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

In my setup, I have three "drives": the virtual boot image, a boot
"partition" which is a subdirectory on my linux fs (mounted over the
boot image once autoexec.bat starts running, and the whole linux tree.

What would happen is that dosemu would boot, and one of the things in
autoexec would be to run the TSR that "mounts" the linux fs as one of
the drives.  Obviously, you can't *start* with the linux fs mounted,
nor would you want the root of your boot drive to be the root of your
linux fs.

But, once booted, I want to switch to that lfn drive and then forget
that djgpp even supports drive letters.  The goal is to have a djgpp
shell that has the same CWD and layout as a unix shell, and set up a
remote-exec link between then with which I can run the gcc dejagnu
testsuite.

- Raw text -


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