replay_bud(9)
π replay_bud(9) π
ok so this is a page from the Kernel API Manual β yes we're in kernel-land, bestie, and honestly? it's kind of iconic in here. this one's all about a little function called replay_bud, and if you're messing with UBIFS replay you're gonna want to know her π«Ά
β¨ NAME β¨
replay_bud β replay a bud logical eraseblock. that's it, that's the vibe. a whole little eraseblock getting its moment on the replay stage π
πΈ SYNOPSIS πΈ
int replay_bud (struct ubifs_info *c , struct bud_entry *b );
π ARGUMENTS π
cβ the UBIFS file-system description object. your whole file-system's little ID card, basically πͺͺbβ the bud entry which describes the bud. she's the main character here, the one getting replayed π
π DESCRIPTION π
so what does she actually do? replay_bud replays bud b, recovers it if needed, and then adds all nodes from this bud to the replay list. that's the whole gig, no cap β¨
as for what you get back β returns zero in case of success and a negative error code in case of failure. so 0 = slay, negative = something went off the rails π
π¦ SEE ALSO π¦
okay so the kernel file to go look at is ./fs/ubifs/replay.c, and she has so many friends. like a whole friend group, fr fr:
struct replay_entry(9)struct bud_entry(9)set_bud_lprops(9)set_buds_lprops(9)trun_remove_range(9)inode_still_linked(9)apply_replay_entry(9)replay_entries_cmp(9)apply_replay_list(9)destroy_replay_list(9)insert_node(9)insert_dent(9)ubifs_validate_entry(9)is_last_bud(9)authenticate_sleb(9)replay_buds(9)destroy_bud_list(9)add_replay_bud(9)validate_ref(9)replay_log_leb(9)take_ihead(9)ubifs_replay_journal(9)
group chat's fully assembled, iykyk π«Ά
ngl bestie, this lives in ./fs/ubifs and the page is dated October 2026 β so yes, she's from the future, and yes, she ate π
β¨π
π¦ 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