Sortix 1.1dev nightly manual
This manual documents Sortix 1.1dev nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
|init||[--target=init-target] [--] [chain-init ...]|
- mount real root filesystem and run its init.
- like chain but run /sysmerge/sbin/init with the merge target.
- finish a sysmerge(8) upgrade and then execute the real init with its default target.
- boot to login(8).
- boot to root shell without password (not secure).
- boot to operating system installer (not secure).
- boot to operating system upgrader (not secure).
chain target mounts the root filesystem as in /etc/fstab (see fstab(5)) and runs the next init program. This is used by update-initrd(8) to make a bootstrap initrd(7).Every block device and partition is scanned to determine if it is the root filesystem. It is checked for consistency if necessary. 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.
kernel(7) on the next boot. The file is also written on system shutdown where the system has the most entropy.
merge target completes a delayed system upgrade by invoking the sysmerge(8) at /sysmerge/sbin/sysmerge with the --booting option. If the upgrade succeeds, the temporary init deinitializes the system and invokes the real (now upgraded) init which will restart system initialization in the normal fashion.
- root's home directory
- init's process id
- root's shell