delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/06/16:44:44

Date: Sat, 6 May 2000 17:30:09 -0400 (EDT)
Message-Id: <200005062130.RAA07149@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200005061011.MAA24005@father.ludd.luth.se> (message from Martin
Str|mberg on Sat, 6 May 2000 12:11:56 +0200 (MET DST))
Subject: Re: Idea: \\host\share\file -> /dev/net/host/share/file
References: <200005061011 DOT MAA24005 AT father DOT ludd DOT luth DOT se>
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

> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> Date: Sat, 6 May 2000 12:11:56 +0200 (MET DST)
> 
> How easy would it be to add the UNC functionality by mapping
> \\host\share\file to /dev/net/host/share/file and back?

On plain DOS or on Windows?

If the latter, then you don't have to do anything, except to take care
to pass the \\host\share\file UNC to the functions of Int 21h, and
Windows will do the rest.  The problem is that some of the library
functions do destructive things to such UNCs, but that's all you need
to take care of to get the UNCs supported.

If you want to support UNCs on DOS, then mapping to /dev/net/whatever
will not really help, since some machinery needs to communicate to the
network redirector so that it understands the /dev/net/ stuff.

- Raw text -


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