[TUHS] single user mode in v5 & v6

Dave Horsfall dave at horsfall.org
Sat Jan 10 04:59:08 AEST 2015


On Fri, 9 Jan 2015, Noel Chiappa wrote:

>     > For some reason, the code for /etc/init .. bashes the command line 
>     > so it just has '-' in it, so it looks just like a shell.
> 
> BTW, that may be accidental, not a deliberate choice - e.g. someone 
> copied another line of code which exec'd a shell, and didn't change the 
> second arg.

I have a vague recollection of patching "ps" so that process 0 showed as 
"unix" or something, as otherwise it was just random rubbish.

>     > our init checked the switch register to determine whether to bring 
>     > up single or multiuser
> 
> I think that's standard from Bell, actually.

Yes.

-- 
Dave Horsfall DTM (VK2KFU)  "Bliss is a MacBook with a FreeBSD server."
http://www.horsfall.org/spam.html (and check the home page whilst you're there)



More information about the TUHS mailing list