ubifs_compr_name(9)
πΈ 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 π«Ά
ubifs_zn_dirty(9)ubifs_zn_obsolete(9)ubifs_zn_cow(9)ubifs_wake_up_bgt(9)ubifs_tnc_find_child(9)ubifs_inode(9)ubifs_compr_present(9)ubifs_wbuf_sync(9)ubifs_encode_dev(9)ubifs_add_dirt(9)ubifs_return_leb(9)ubifs_idx_node_sz(9)ubifs_idx_branch(9)ubifs_idx_key(9)ubifs_tnc_lookup(9)ubifs_get_lprops(9)ubifs_release_lprops(9)ubifs_next_log_lnum(9)
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
- 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