Mail Archives: djgpp-workers/2001/12/27/05:14:17
On Wed, 26 Dec 2001, Eli Zaretskii wrote:
> > 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?
DOSEMU can access disk either using Linux filesystem support or by direct
access to partition (never tried the latest). In the first one LFN support
could be possible, in other one it could be much more difficult to proved
it by DOSEMU.
>
> > 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.
>
Perhaps so
Andris
- Raw text -