delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/02/10:16:21

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3C80DEBB.F74D692E@phekda.freeserve.co.uk>
Date: Sat, 02 Mar 2002 14:16:27 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: ANNOUNCE: unc_fsx version 0.1, UNC filename handling
References: <20020227160815 DOT GC27372 AT kendall DOT sfbr DOT org>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

JT Williams wrote:
> Did this code ever make it into cvs?  Should it?

No and no. It's not really the right approach.

unc_fsx uses an FSEXT to allow you to open files using UNC paths. The FSEXT
maps a drive to the UNC share and opens the file via z:/path, where z is
whatever drive letter it chose. (It starts with z and works backwards.) So
unc_fsx does not allow you to do any file functions on \\host\path\to\file for
instance. Another weakness is that it's possible that the drive can be
unmapped behind unc_fsx's back. I'm not sure how it would cope with that.

Another reason for not integrating it (if you need more 8) ) is that many of
the file functions use interrupts that support UNCs. The right way to update
the DJGPP library is to make all file functions accept UNCs, rather than
bolting on some hack like unc_fsx.

> -:     I'd like to announce unc_fsx. unc_fsx is a library that allows DJGPP
> -: programs to handle UNC-style filenames transparently. UNC is Universal
> -: Naming Convention, a naming convention that is used on Windows (SMB)
> -: networks.
[snip]

BTW I stopped updating my Geocities home page several years ago, when Yahoo
updated the terms and conditions to something I could not agree to. As
Martin's already pointed out, unc_fsx can be downloaded from my home page
below.

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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