[TUHS] Early non-Unix filesystems?
wkt at tuhs.org
Fri Mar 18 15:11:03 AEST 2016
On Thu, Mar 17, 2016 at 11:59:36PM -0400, John Cowan wrote:
> There was also no concept of pathnames in PDP-7 Unix, neither relative
> nor absolute. ...
> directory, conventionally named "bin", and the shell could not execute
> commands out of a directory that did not contain a "bin" link.
Are you sure it was called "bin"? The PDP-7 team are working on the
assumption that it was called "system" because init links the shell
from "system" into a user's home directory:
sys setuid " Set the user's user-id,
sys chdir; dd " change into the "dd" directory
sys chdir; dir " and then into the user's directory
sys link; system; sh; sh " Link sh in system dir to this dir
There's no mention of the directory's name in the kernel, but i-node 3
has to contain init (we assume "system" again) and i-node 4 is the
directory that holds users' home directories ("dd").
More information about the TUHS