fh_partition_get_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fh_partition_get_status(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is fh_partition_get_status β€” literally the girl whose whole job is telling you how a partition is doing. no cap.


✨ NAME ✨

fh_partition_get_status β€” gets the status of a partition πŸŽ€

like, that's it. that's the gig.


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned int fh_partition_get_status (unsigned int partition , unsigned
int *status );

so she takes two things and hands you back an unsigned int. iconic behavior honestly.


🌸 ARGUMENTS 🌸

  • partition β€” partition ID πŸ’« (which partition are we checking on? that one.)
  • status β€” returned status code 🫢 (this is where the answer lands, bestie β€” it's a pointer, so she writes through it.)

πŸ‘‘ DESCRIPTION πŸ‘‘

Returns 0 for success, or an error code. periodt. that's the whole vibe β€” zero means slay, anything else means something went sideways and you got an error code instead 😭


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/powerpc/include/asm/fsl_hcalls.h β€” go read her, she's right there πŸ’œ

and then the whole friend group, fr fr:


ngl bestie, if you're poking at partitions on powerpc, this is the glow-up reference you keep in your tabs 🌈

and that's the whole page! πŸ’– brought to you from ./arch/powerpc/include/asm, dated October 2026, and yeah β€” fh_partition_get_status(9) said what she said. mwah πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from