ubi_more_update_data(9)
β¨ NAME β¨
okay so welcome to the Kernel API Manual, bestie π β this page is for ubi_more_update_data, and its whole thing is write more update data. periodt.
πΈ SYNOPSIS πΈ
int ubi_more_update_data (struct ubi_device *ubi , struct ubi_volume
*vol , const void __user *buf , int count );
π ARGUMENTS π
ubiβ UBI device description object. the main device descriptor, iconic.volβ volume description object. the volume in question, no cap.bufβ write data (user-space memory buffer). yes bestie, user-space memory buffer, keep it straight.countβ how much bytes to write. literally the byte count, exactly as written.
π¦ DESCRIPTION π¦
okay so this function writes more data to the volume which is being updated β it's giving "volume update, but make it incremental" β¨. It may be called an arbitrary number of times until all the update data arriveis.
bestie note: arriveis is literally the spelling from the original β I'm preserving it, don't come for me π
Return vibe check, fr fr: this function returns 0 in case of success, the number of bytes written during the last call if the whole volume update has been successfully finished, and a negative error code in case of failure. slay π
π₯ SEE ALSO π₯
- Kernel file
./drivers/mtd/ubi/upd.cβ the source file, go read it, iykyk set_update_marker(9)clear_update_marker(9)ubi_start_update(9)ubi_start_leb_change(9)write_leb(9)ubi_more_leb_change_data(9)
okay that's the whole page, bestie π«Ά β source/version: ./drivers/mtd/ubi, date: October 2026, and the page itself is ubi_more_update_data(9). mwah πβ¨
π¦ 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