ubi_free_all_volumes(9)
π ubi_free_all_volumes(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this one's a tiny little function with a big cleanup-girlie job, and honestly? she ate. π
πΈ NAME πΈ
ubi_free_all_volumes β frees, like, all the volumes. every single one. no cap. π§Ήπ
π¦ SYNOPSIS π¦
void ubi_free_all_volumes (struct ubi_device *ubi );
that's it. that's the whole thing. short and iconic, main character energy fr fr π
β¨ ARGUMENTS β¨
ubiβ the UBI device description object π β like, the actual device she's about to clean house on. that's the one and only thing you hand her.
π₯ SEE ALSO π₯
okay so this function does not exist in a vacuum, bestie β she's got a whole friend group and you should lowkey meet them all π
Kernel file ./drivers/mtd/ubi/build.c and also these absolute legends:
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_get_by_major(9)ubi_major2num(9)kill_volumes(9)uif_init(9)uif_close(9)ubi_free_volumes_from(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)
like, the whole squad showed up. iykyk π«Άπ
π friendly reminder: this page lists a return type of void, so there's no "did it work?" gossip to report back. don't @ me, that's just what the manual says.
mwah π thanks for reading, bestie β this page came straight out of ./drivers/mtd/ubi, dated October 2026, and it's ubi_free_all_volumes(9) forever and always. slay. π
β¨
π¦ 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