fh_partition_restart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

fh_partition_restart(9) β€” your fave Kernel API Manual glow-up πŸ’…βœ¨

okay bestie, gather round, because this one is short but it is not subtle. We're in the Kernel API Manual, and this function is the β€œyeet the current partition into a reboot” button. πŸŽ€

✨ NAME ✨

fh_partition_restart β€” reboot the current partition. literally that's the whole job, and it understood the assignment. πŸ’–

🌸 SYNOPSIS 🌸

unsigned int fh_partition_restart (unsigned int partition );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • partition β€” the partition ID. yes bestie, you gotta tell it which partition is getting rebooted. no vibes-based guessing. πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

It returns an error code if the reboot failed. And if it succeeds? It does not return β€” like, at all. it's gone, the partition has rebooted, and your function call is not coming back to tell you about it. πŸ˜­πŸ’€

bestie warning: β€œdoes not return if it succeeds” is not a drill. if this works, you do not get a cute little return value. you get a rebooted partition and silence. periodt. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h is where it's at, and the whole fh squad is:


🫢 that's the whole page, bestie! it lives at ./arch/powerpc/include/asm, and this edition is dated October 2026. mwah! πŸ’‹πŸŒˆ
πŸ“¦ where this page comes from