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)
Tue, Sep 30, 11:53 PM
Unknown Object (File)
Thu, Sep 25, 11:11 AM
Unknown Object (File)
Wed, Sep 24, 10:56 PM
Unknown Object (File)
Thu, Sep 18, 11:54 AM
Unknown Object (File)
Aug 30 2025, 2:36 AM
Unknown Object (File)
Jul 30 2025, 6:05 PM
Unknown Object (File)
Jul 27 2025, 12:05 AM
Unknown Object (File)
Jul 7 2025, 12:06 PM
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