ubifs_compr_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ubifs_compr_name β€” the kernel API manual, but make it make sense 🌸

okay so bestie, we're in the Kernel API Manual today and the star of the show is ubifs_compr_name(9). yes it's a section 9 page, yes it's kernel internals, no you don't have to be scared πŸ’…


✨ NAME ✨

ubifs_compr_name β€” get the compressor name string by its type. that's it. that's the whole job. iconic minimalism πŸŽ€


✨ SYNOPSIS ✨

const char * ubifs_compr_name (struct ubifs_info *c , int compr_type );

like literally just hand it the fs info and a compressor type and it comes back with a const char *. slay.


✨ ARGUMENTS ✨

  • c β€” the UBIFS file-system description object. your whole fs vibe in one struct, ngl.
  • compr_type β€” the compressor type. the little number that tells us which compression situation we're in πŸ¦‹

✨ DESCRIPTION ✨

this function returns the compressor type string. that's the entire description, bestie β€” it's short, it's sweet, it ate and left no crumbs πŸ’– you give it a compr_type, it gives you back the string. no cap.


✨ SEE ALSO ✨

all the sibling functions living rent-free in ./fs/ubifs/misc.h β€” go say hi to the whole friend group 🫢

fr fr go read the source at ./fs/ubifs/misc.h if you want the deep lore πŸ‘‘

and that's the page!! courtesy of ./fs/ubifs, dated October 2026 β€” stay compressed, stay iconic, mwah πŸ’‹πŸ’œ

πŸ“¦ where this page comes from