Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
|init||[-qsv] [--target=default-daemon] [--] [chain-init ...]|
- -q, --quiet
- Write status updates to the terminal only about failed daemons. This behavior is the default.
- -s, --silent
- Never write status updates about daemons to the terminal.
- -t, --target=default-daemon
- Boot default-daemon as the target. The default daemon configuration is changed to only require the default-daemon dependency with the exit-only flag.
- -v, --verbose
- Write all status updates about daemons starting and stopping to the terminal
chain or chain-merge, then the real operating system is chain initialized.The root filesystem is mounted per /etc/fstab (see fstab(5)). This configuration file is a copy of the real file made by update-initrd(8) when it makes the bootstrap initrd(7).The root filesystem is found by searching each block device and partition. It is checked for consistency if necessary and mounted read-only if the check fails. It is mounted at /tmp/fs.XXXXXX and the /dev filesystem directory is bound at /tmp/fs.XXXXXX/dev.Finally the /sbin/init program (or chain-init if specified) of the target root filesystem is run inside a chroot. If the target is chain-merge, then the --target=merge option is passed to the next init.
fstab(5). The filesystems are checked for consistency if necessary and mounted read-only if the check fails.
kernel(7) on the next boot. The file is also written on system shutdown where the system has the most entropy.
merge, then a delayed system upgrade is completed by invoking sysmerge(8) at /sysmerge/sbin/sysmerge with the --booting option.If the upgrade succeeds, the temporary /sysmerge/sbin/init deinitializes the system and invokes the real (now upgraded) /sbin/init, which will restart system initialization in the normal fashion.
default daemon(7) is started per its /etc/init/default init(5) configuration file, which constitutes the operating system, and once it exits then init exits with the same error code and the kernel shuts down the machine. The default daemon is meant to be a virtual daemon depending on a single top level daemon (the target), which provide the desired operating system functionality (e.g. booting to a single user shell or a multi user login screen).The daemons are configured per init(5) where /etc/init contains the installation's local configuration, which overrides the operating system's default configuration in /share/init. The daemons are started in order as their dependencies become ready and are stopped in order when they are no longer required.The local daemon is meant to start the installation's local daemon requirements.
- root's home directory
- init's process id
- root's shell
- Initial kernel entropy
- Daemon configuration for the local system (first in search path) (see init(5))
- Configuration for the default daemon (see init(5))
- Filesystem table (see fstab(5))
- Hostname (see hostname(5))
- Keyboard layout (see kblayout(5))
- Graphics resolution (see videomode(5))
- Default daemon configuration provided by the operating system (second in search path) (see init(5))
- Daemon log files (see init(5))
- init's own log.
fstab(5), hostname(5), init(5), kblayout(5), videomode(5), daemon(7), initrd(7), kernel(7), halt(8), login(8), poweroff(8), reboot(8), sysmerge(8), update-initrd(8)