fh_partition_restart(9)
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:
fh_send_nmi(9)fh_partition_get_dtprop(9)fh_partition_get_status(9)fh_partition_start(9)fh_partition_stop(9)struct fh_sg_list(9)fh_partition_memcpy(9)fh_dma_enable(9)fh_dma_disable(9)fh_vmpic_get_msir(9)fh_system_reset(9)fh_err_get_info(9)fh_get_core_state(9)fh_enter_nap(9)fh_exit_nap(9)fh_claim_device(9)
π«Ά 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms