ubi_get_by_major(9)
π 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:
- Kernel file
./drivers/mtd/ubi/build.cβstruct mtd_dev_param(9) ubi_volume_notify(9)ubi_notify_all(9)ubi_enumerate_volumes(9)ubi_get_device(9)ubi_put_device(9)ubi_major2num(9)kill_volumes(9)uif_init(9)uif_close(9)ubi_free_volumes_from(9)ubi_free_all_volumes(9)ubi_free_internal_volumes(9)io_init(9)autoresize(9)ubi_attach_mtd_dev(9)ubi_detach_mtd_dev(9)open_mtd_by_chdev(9)open_mtd_device(9)bytes_str_to_int(9)ubi_mtd_param_parse(9)
mwah π this page is signing off from source/version ./drivers/mtd/ubi, dated October 2026. stay slay, bestie π«ΆπΈ
π¦ 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