Mail Archives: opendos/1997/10/13/11:24:57
nuqneH,
In message <Pine DOT HPP DOT 3 DOT 96 DOT 971013115749 DOT 28732A-100000 AT tea DOT geophysik DOT tu-freiberg DOT de> Hans Ecke writes:
> > > DOS don't know softlinks!
> >
> > You are wrong. There is softlinks driver for DOS.
>
> I think we are talking about standard DOS/standard OpenDOS. There are
> drivers for everything and all in the internet.
So i want ls that is aware of that driver.
>
> > > DOS even don't know device files!
> >
> > You are wrong again. Try using /dev/com1 from any program.. and..
> > ashur!ark [1:59 PM] /dev $ls -l com1
> > crw------- 1 0 0 0, 0x0002 Dec 31 1980 com1
>
> That seems much like a Unix System! From where do you get FilePermissions?
I don't know. That makes me wonder: when i created /dev directory and
device files in it one of ls ports gave me that output!
Maybe it is a library or something: i looked at source and found nothing
unusual.
> If I look in my directorytree I can`t find a directory c:\dev - maybe
> OpenDOS changes some interrupt to fake such a directory but why should it
> do that?
Yes,it does. Seems to be done for unix compatibility ;) It fakes it even if
it does not really exist.
> > ...DJGPP and softlinks
> > Which softlinks?
>
> They have a rather interesting executable-format. There are so-called
> stubs with data-structures inside which include i.e. stacksize and also
> the name of the file to execute. Putting an empty string inside executes
> the executable, putting a valid filename executes this file. Now its easy
> to create a stub which points to an executable and call this a link.
>
> Was this understandable? (I`m not native english)
Yep,but it is not fully-featured softlink support.
--
_ _ _ _ _ _ _
Must be a visit from the dead.. _| o |_ | | _|| | / _||_| |_ |_ |_
CU in Hell .......... Arkan#iD |_ o _||_| _||_| / _| | o |_||_||_|
- Raw text -