Mail Archives: djgpp/2003/09/23/07:29:55
> From: "bdeck" <bdeck AT lycos DOT co DOT uk>
> Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.apps
> Date: Tue, 23 Sep 2003 13:00:09 +0200
> >
> > No... the whole idea behind mount doesn't exist in MS-DOS.
>
> Very interesting... I have always wondered what it would take to make the
> virtual directory table on DJGPP ("i.e. /dev/env/DJDIR, /dev/d, /dev/c,
> /dev/com1, etc...) extensible.
They _are_ extensible; see the node "File System Extensions" in the
DJGPP library's reference docs.
However, such extensions are private to the program that uses them.
You cannot easily have a program like `mount' mount some pseudo-device
and have that device visible in another program, unless you leave
some record to that effect on disk or something.
> Perhaps a mock 'mount' and 'umount'
> executable could add additional devices and physical directories (even
> commands) to the DJGPP.ENV....
It would be a very bad idea IMHO to rewrite DJGPP.ENV to support this
kind of feature. It's better to record the info on some other file.
- Raw text -