ubifs_compr_present(9)
π ubifs_compr_present(9) π
okay hi bestie!! so we're in the Kernel API Manual today and the page is literally called ubifs_compr_present(9) β say that five times fast, i dare you π«Ά it's a tiny little function living its best life in the UBIFS world, and honestly? she's an icon, she's a legend, and she's about to make so much sense to you.
β¨ NAME β¨
ubifs_compr_present β check if compressor was compiled in.
like, literally just is this thing even here or not. that's the whole vibe check π
πΈ SYNOPSIS πΈ
int ubifs_compr_present (struct ubifs_info *c , int compr_type );
yes bestie, she takes two args and gives you back an int. no cap. π₯
π ARGUMENTS π
cβ the UBIFS file-system description object. this is the whole file system's lil passport, okay? she carries the info.compr_typeβ the compressor type to check. you're basically asking "hey, is this one around?" π
π¦ DESCRIPTION π¦
okay so here's the tea β β this function returns 1 if the compressor of type compr_type is present, and 0 if it is not. that's it. that's the whole function. she's short, she's sweet, she's giving minimal effort main character energy and we respect it π
no side effects, no drama, no "surprise, i also did six other things" β just a 1 or a 0. periodt. β¨
ngl, this is one of those functions you call and immediately trust. she's not hiding anything from you π«Ά
π SEE ALSO π
bestie, the friend group is huge, buckle up π β all of these live in the kernel file ./fs/ubifs/misc.h:
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_name(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)
go read them all. i'll wait. π§ββοΈ
so yeah, that's the page!! π she ships from ./fs/ubifs, dated October 2026, and she's part of the Kernel API Manual β go forth and check those compressors, bestie, you've got this πβ¨π¦
π¦ 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