DOSTARTUPHOOKS(9)
π NAME
okay bestie, this is dostartuphooks from the Kernel Developerβs Manual, section 9 β itβs giving βthe function that runs all the startup hooksβ β¨
dostartuphooksβ literally runs every startup hook π
π SYNOPSIS
#include <sys/types.h>
#include <sys/systm.h>
void
dostartuphooks(void);
π¦ DESCRIPTION
So dostartuphooks() is the function that invokes all the startup hooks established with startuphook_establish(9). No cap. They get called in order, i.e., the startup hook established first will be called first β first in, first called, periodt. π
This function is called from main() with interrupts turned on. It runs immediately before the system configures its root and swap devices, but fully after all normal autoconfiguration. The vibe? It lets device subsystems that need delayed configuration (e.g., because their initialization takes a very long time) still provide the root device. Obsessed. π«Ά
Startup hooks are implemented via the more general dohooks(9) API. iykyk. πΈ
π SEE ALSO
cute sign-off bestie: this page is from Debian, dated December 10, 2014, and itβs DOSTARTUPHOOKS(9) β mwah π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2001 Niklas Hallqvist
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms