gluebi_put_device(9)
π NAME π
gluebi_put_device β bestie, this is the one that puts an MTD device reference π«Ά
So this is a page from the Kernel API Manual, and it's all about releasing your grip on an MTD device. Letting go is self-care, periodt.
β¨ SYNOPSIS β¨
void gluebi_put_device (struct mtd_info *mtd );
Yep, that's the whole call. Short, iconic, no notes. π
π ARGUMENTS π
mtdβ the MTD device description object, aka the lil struct that's the whole main character of this function πΈ
π¦ DESCRIPTION π¦
okay so, this function gets called every single time the MTD device is being put. Every time. Like clockwork, no cap. β
The page also says it returns zero in case of success and a negative error code in case of failure β yes even though the synopsis shows void, that's literally what the manpage says, so we're saying it too. iykyk π
π SEE ALSO π
the whole friend group tbh β go read these next, they all hang out together π
- Kernel file
./drivers/mtd/ubi/gluebi.c struct gluebi_device(9)find_gluebi_nolock(9)gluebi_get_device(9)gluebi_read(9)gluebi_write(9)gluebi_erase(9)gluebi_create(9)gluebi_remove(9)gluebi_updated(9)gluebi_resized(9)gluebi_notify(9)
and that's the page!! π§ mwah π this one comes from ./drivers/mtd/ubi, dated October 2026 β write that down bestie, it's giving vintage already ππ
π¦ 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