The Newcastle Connection (or UNIX United ) was a software subsystem from the early 1980s that could be added to each of a set of interconnected UNIX-like systems to build a distributed system. The latter would be functionally indistinguishable, at both user- and system-level, from a conventional UNIX system. It became a forerunner of Sun Microsystems ' Network File System (NFS). The name derives from the research group at Newcastle University , under Brian Randell , which developed it.
5-483: The term "UNIX United" describes the scheme of combining the overall filesystems of the participating UNIX machines; "Newcastle Connection" describes the underlying communication layer which enables this. A UNIX United system constructed with the Newcastle Connection is functionally indistinguishable from a centralised UNIX system at the system-call level. In essence, the concept of the "parent directory"
10-459: A from "unix1" to "unix2" to sit alongside files b and c , example equivalent commands might be: It required no changes to the UNIX kernel. Rather, it ran in user-space, using a modified version of the C standard library of its day which was capable of recognising these new semantics. To a first approximation this was to recognise pathnames beginning with "/.." . A match would divert such
15-444: A reference through to the new software, which then used remote procedure calls to the remote machine. All other pathnames would simply go through to the local kernel as usual. (If the current working directory was itself remote, this needed to be taken into account.) It did, however, require that all software intended to use it, including shells, the "cp" command, etc. needed to be re-linked with this new library. Continuing one of
20-439: The previous examples, the "cp" command attempts, as expected, to open the two files: Assuming the command has been relinked with the revised C-library, the first open() happens as normal on the local system. The second, however, is diverted into the "Newcastle Connection" software because of the filename's leading " /.. ". The original implementation at Newcastle was for UNIX V7 on a set of PDP-11 computers connected by
25-485: Was re-interpreted at the root of the filesystem, where it originally had no significant meaning, to mean "this directory is on a remote machine", similar to subsequent " Super-root (Unix) " usage. As a reminder, a typical single UNIX directory tree might resemble: UNIX United acts as an extra level above the / root. If the example machine is named "unix1", an overall UNIX United scheme with an additional second machine, "unix2", would look like: If we wish to copy file
#199800