Mail Archives: djgpp-workers/2001/12/26/15:04:33
> > 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 -