Subject: Re: The smallest multi-user system
To: <>
From: David Laight <>
List: current-users
Date: 08/15/2003 16:46:24
> OK, I figured out that init is starting in single user mode because is is told to.
>     while ((c = getopt(argc, argv, "sf")) != -1)
>         switch (c) {
> 	case 's':
>             requested_transition = single_user;
> 	    break;
> The flag is being set to -s.  Who, where, and why? (looking in kernel
> code, though I know not where).

It is passed though (by magic) from the parameter tyoe to 'boot'.
I'd look in (IIRC) autoconf.c


David Laight: