home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
utils
/
sossntr3
/
readme
< prev
next >
Wrap
Text File
|
1995-05-18
|
4KB
|
68 lines
This is a crude (but apparantly usable) Windows NT port of the SOSS NFS server.
This allows you to mount NT filesystems (including ones which are visible
via Windows-for-Workgroups!) so that they are visible on a UNIX machine.
This is *not* a full distribution of the SOSS package.
It contains the minimal stuff needed for creating an NT version. I did this
primarily because I did not take care to make the changes in a way that allows
you to build the original (PC) version as well as the NT version from a single
copy of the source code. I.e. I didn't add a lot of #ifdefs. So, I didn't
want to give anyone the impression that this was a full version of SOSS that
worked as well as the original (which I never actually used).
If you want the version of SOSS that works on non-NT machines, see the sites
listed in the "howtoget.old" file.
See the install file for installation instructions, and if you have trouble,
you might look at install.old, the original instructions. The stuff about
instaling network drivers in install.old is not relevant to NT,
but much of the discussion about debugging and options may be useful.
I've also left the original documentation in the "doc" directory, which
again is mostly not relevant to NT, but which may be useful. Remember,
if you're interested in the full SOSS distribution, this is not it!
The biggest change I made was converting it from using the PC/IP
network driver functions to using the Winsock function interface
that is available under Windows NT. This same Winsock interface is available
for some Windows TCP/IP stacks, so it's possible that this code could work
pretty easily in a (32-bit) Windows environment.
I also gratuitously deleted all the "far" pointer declarations.
I originally just used a FAR macro that was defined to nothing,
but I guess my distaste for the whole near/far thing eventually got
the better of me. (The only reason I'm into Windows, now, is because
NT finally provides a "real" OS. My tolerance for DOS/Win3.1 limitations
is very low. End of gratuitous postering.)
Other changes of note: I completely disabled the cacheing of file attributes
(see the #ifdef CACHEIT in src/files.c). This helped prevent some annoyances,
where the mounted filesystem on UNIX wouldn't be able to see the impact
of changes (like deleted files) on the NT filesystem. I also increased
the number of inodes to store in memory (#define NUMINODES in src/inodes.c).
I can't recall any other significant changes, but there may be some.
The server appears to be usable interactively (i.e. just poking around
from the UNIX side), but it seems to fail in occasional and random ways
if I try to do something like "find . -print | cpio -co" from the
UNIX side - it seems like heavy use causes read requests to fail.
The most likely explanation is a bug in my changes, but I haven't been
able to reproduce it reliably, and have no more desire to work on it.
Still, it's pretty useful (at least to me) in its current form, so I'm
packing it up and distributing it so that others can play with it, and
possibly improve it. I'll certainly accept bug reports and comments, if you
want to send them, but unless a bug fix accompanies a bug report, I doubt
I'll spend much more time on it.
Many many thanks go to the original developers of SOSS, who are
rbraun@spdcc.com (Richard Braun)
stan@cs.uiuc.edu (Seemong Tan)
I had little trouble dealing with the code, it was nicely written.
My work with it was just a week's worth of hacking, take it for what
it's worth.
...Tim Thompson...tjt@blink.att.com...