gluebi_create(9)
π gluebi_create(9) π
okay bestie, welcome to the Kernel API Manual page for gluebi_create(9) β yes, that's the manual name, and yes, this function is lowkey the matchmaker between UBI volumes and fake MTD devices π«Ά. Let's get into it.
πΈ NAME πΈ
gluebi_create β create a gluebi device for an UBI volume. periodt.
β¨ SYNOPSIS β¨
bestie, here's the exact signature, no cap:
int gluebi_create (struct ubi_device_info *di , struct ubi_volume_info
*vi );
π ARGUMENTS π
diβ the UBI device description object πviβ the UBI volume description object π¦
π DESCRIPTION π
So picture this: a new UBI volume just got created, and this function is called to create the corresponding fake MTD device. That's the whole vibe, fr fr.
It returns zero in case of success and a negative error code in case of failure. slay when it works, sad little negative number when it doesn't π.
π¦ SEE ALSO π¦
go touch grass in these files and functions, iykyk:
- kernel file
./drivers/mtd/ubi/gluebi.c - struct
gluebi_device(9) find_gluebi_nolock(9)gluebi_get_device(9)gluebi_put_device(9)gluebi_read(9)gluebi_write(9)gluebi_erase(9)gluebi_remove(9)gluebi_updated(9)gluebi_resized(9)gluebi_notify(9)
mwah π this iconic page was served by ./drivers/mtd/ubi, dated October 2026 β bye bestie, go create some fake MTD devices and stan responsibly πβ¨
π¦ 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