dirty_cow_pnode(9)
β¨ dirty_cow_pnode(9) β¨
okay bestie, welcome to the Kernel API Manual β this is dirty_cow_pnode(9) and it's lowkey a whole vibe. no cap, it's a tiny little function but it's doing main character energy work in the UBIFS universe π¦
π NAME π
dirty_cow_pnode β literally just making sure a pnode isn't in the middle of being committed. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
struct ubifs_pnode * dirty_cow_pnode (struct ubifs_info *c , struct ubifs_pnode *pnode );
like, look at her. iconic signature. no notes π
β¨ ARGUMENTS β¨
cβ the UBIFS file-system description object. the whole vibe check of the filesystem lives in here π«Άpnodeβ the pnode you wanna check. the little guy in question β
π₯ DESCRIPTION π₯
so what does it actually do? bestie, it returns the dirtied pnode on success, or a negative error code on failure π that's the flex. that's the whole function. simple, slay, done.
ngl if you get a negative error code back, that's your sign something went sideways β don't ignore it fr fr π
π SEE ALSO π
okay so this is the part where the manpage just lists, like, everyone this function knows. it's giving group chat with the entire ./fs/ubifs/lpt.c crew π and here they all are, no one left out:
do_calc_lpt_geom(9)ubifs_calc_lpt_geom(9)calc_dflt_lpt_geom(9)pack_bits(9)ubifs_unpack_bits(9)ubifs_pack_pnode(9)ubifs_pack_nnode(9)ubifs_pack_ltab(9)ubifs_pack_lsave(9)ubifs_add_lpt_dirt(9)set_ltab(9)ubifs_add_nnode_dirt(9)add_pnode_dirt(9)calc_nnode_num(9)calc_nnode_num_from_parent(9)calc_pnode_num_from_parent(9)ubifs_create_dflt_lpt(9)update_cats(9)replace_cats(9)check_lpt_crc(9)check_lpt_type(9)unpack_pnode(9)ubifs_unpack_nnode(9)unpack_ltab(9)unpack_lsave(9)validate_nnode(9)validate_pnode(9)set_pnode_lnum(9)ubifs_read_nnode(9)read_pnode(9)read_ltab(9)read_lsave(9)ubifs_get_nnode(9)ubifs_get_pnode(9)ubifs_pnode_lookup(9)ubifs_lpt_lookup(9)dirty_cow_nnode(9)ubifs_lpt_lookup_dirty(9)ubifs_lpt_calc_hash(9)lpt_check_hash(9)lpt_init_rd(9)lpt_init_wr(9)ubifs_lpt_init(9)struct lpt_scan_node(9)scan_get_nnode(9)scan_get_pnode(9)ubifs_lpt_scan_nolock(9)dbg_chk_pnode(9)dbg_check_lpt_nodes(9)
like, that's the whole extended friend group. iykyk π
aaaand that's the page! this little icon of a manpage came from ./fs/ubifs, dated October 2026, and it's filed under dirty_cow_pnode(9) π mwah, go read the whole lpt.c if you're obsessed (and honestly? you should be) π§β¨
π¦ 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