ubi_get_by_major(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is ubi_get_by_major(9), straight from the Kernel API Manual, and it literally gets a UBI device by its character device major number. periodt ✨

πŸ“œ SYNOPSIS πŸ“œ

struct ubi_device * ubi_get_by_major (int major );

🧾 ARGUMENTS 🧾

  • major β€” the major number. that's the lookup key, bestie πŸ’…

πŸ” DESCRIPTION πŸ”

okay so this function is similar to ubi_get_device, but it searches the device by its major number instead. same energy, different search key β€” no cap πŸ’–

πŸ‘€ SEE ALSO πŸ‘€

go check these out too, iykyk:


mwah πŸ’‹ this page is signing off from source/version ./drivers/mtd/ubi, dated October 2026. stay slay, bestie 🫢🌸

πŸ“¦ where this page comes from