ubi_dump_aeb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ubi_dump_aeb(9) β€” like, the whole vibe

okay bestie so this is a page from the Kernel API Manual, and honestly? it's a little cutie. it does exactly one thing and it does it well: it dumps a &struct ubi_ainf_peb object. that's it. that's the whole function. no cap. ✨


🌸 NAME 🌸

ubi_dump_aeb β€” dump a &struct ubi_ainf_peb object.

like, it takes your PEB info object and just... spills the tea everywhere. printing. debug style. you know the drill. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void ubi_dump_aeb (const struct ubi_ainf_peb *aeb , int type );

look at that signature. void return β€” it gives nothing back, it just does. main character energy fr. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • aeb β€” the object to dump. this is your const struct ubi_ainf_peb *, the literal star of the show. hand it over and it gets printed. 🫢
  • type β€” the object type, and there are exactly two moods:
    • 0 β€” not corrupted 😌
    • 1 β€” corrupted πŸ’€

that's it. that's the whole vibe check. pick your number wisely, bestie, because the function is gonna describe your object based on it. no extra options, no secret third thing. periodt.


⭐ SEE ALSO ⭐

lowkey the best part of any manpage, the friend group of related functions. go say hi to all of them, they're all in the kernel file ./drivers/mtd/ubi/debug.c:

a whole dump squad. iconic. πŸ”₯


ngl, this one is a debug helper β€” it prints stuff so you can read it. it isn't out here changing your data, so breathe. but also, it's printing kernel object internals, so treat the output as debug info, not as a promise. mwah. πŸ’–

and that's the page!! 🧚 no bugs were harmed. brought to you by the ./drivers/mtd/ubi source, dated October 2026 β€” catch you in the next manpage, bestie, slay βœ¨πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from