ubi_do_get_volume_info(9)
π ubi_do_get_volume_info(9) β from the Kernel API Manual, bestie
Okay so picture this: you're in the kernel, you're poking at UBI (that's Unsorted Block Images, the flash thingy β¨), and you just wanna know stuff about a volume. That's literally it. That's the whole function. ubi_do_get_volume_info = get information about UBI volume. π
β¨ NAME β¨
ubi_do_get_volume_info β get information about UBI volume. No cap, that's the whole job description. π«Ά
πΈ SYNOPSIS πΈ
void ubi_do_get_volume_info (struct ubi_device *ubi , struct ubi_volume
*vol , struct ubi_volume_info *vi );
Look at her. Returns void, so she doesn't even give you a status code back β she just does the thing and dips. π
π¦ ARGUMENTS π¦
ubiβ the UBI device description object. Like, the big picture device vibe. Your main character device. πvolβ the volume description object. The specific volume you're being nosy about. πviβ the information is stored here. This is the output spot, bestie β she fills this bad boy in for you. π
π SEE ALSO π
The kernel file lives at ./drivers/mtd/ubi/kapi.c β go read it if you wanna, iykyk. π
And here's the whole friend group, fr fr:
ubi_do_get_device_info(9)ubi_get_device_info(9)ubi_get_volume_info(9)ubi_open_volume(9)ubi_open_volume_nm(9)ubi_get_num_by_path(9)ubi_open_volume_path(9)ubi_close_volume(9)leb_read_sanity_check(9)ubi_leb_read(9)ubi_leb_read_sg(9)ubi_leb_write(9)ubi_leb_erase(9)ubi_leb_unmap(9)ubi_leb_map(9)ubi_is_mapped(9)ubi_sync(9)ubi_register_volume_notifier(9)ubi_unregister_volume_notifier(9)
Like, the entire UBI extended universe. Obsessed. π
Okay that's the whole page, mwah π β this icon came from the source tree at ./drivers/mtd/ubi, dated October 2026, and the manpage itself is ubi_do_get_volume_info(9). Go forth and get that volume info, 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