Page MenuHomeFreeBSD

Further simplify arguments to init.
ClosedPublic

Authored by brooks on Dec 5 2018, 6:40 PM.
Tags
None
Referenced Files
F108936522: D18441.diff
Wed, Jan 29, 6:45 PM
Unknown Object (File)
Sat, Jan 25, 3:15 AM
Unknown Object (File)
Nov 24 2024, 11:29 PM
Unknown Object (File)
Nov 24 2024, 2:17 PM
Unknown Object (File)
Nov 23 2024, 1:56 AM
Unknown Object (File)
Nov 22 2024, 3:25 PM
Unknown Object (File)
Nov 5 2024, 1:33 PM
Unknown Object (File)
Nov 5 2024, 8:13 AM
Subscribers

Details

Summary

With the removal of BOOTCDROM and fastboot support, this code always
passed "-s" or "--". The latter simply terminates getopt(3) processing
in init so we only need to pass "-s" in the single user case, or nothing
in other cases.

The passing of "--" seems to have been done to ensure that the number of
arguments passed to init was always the same and thus that argc was the
same.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable