Page MenuHomeFreeBSD

Further simplify arguments to init.
ClosedPublic

Authored by brooks on Dec 5 2018, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 21, 4:11 AM
Unknown Object (File)
Nov 20 2025, 9:48 AM
Unknown Object (File)
Nov 18 2025, 10:30 AM
Unknown Object (File)
Nov 18 2025, 10:25 AM
Unknown Object (File)
Nov 18 2025, 6:26 AM
Unknown Object (File)
Nov 18 2025, 5:32 AM
Unknown Object (File)
Nov 18 2025, 4:28 AM
Unknown Object (File)
Nov 13 2025, 9:49 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