bootflag_show(9)
π bootflag_show(9) β Kernel API Manual, bestie edition π
okay so like, hi, welcome to the bootflag_show(9) page from the Kernel API Manual β¨ it's literally a tiny little sysfs show function and honestly it's giving "small but mighty" π let's get into it.
πΈ NAME πΈ
bootflag_show β the get function for the sysfs attribute bootflag π«Ά lowkey does exactly what it says on the tin.
β SYNOPSIS β
ssize_t bootflag_show (struct device *dev , struct device_attribute
*attr , char *buf );
no cap, that's the whole signature π
notice it returns a ssize_t β that's how many bytes it wrote into the buffer, iykyk.
π¦ ARGUMENTS π¦
devβ thestruct deviceπ this is the device structure itself, the main character of the call.attrβ device attributes π aka thestruct device_attributethat's being shown.bufβ buffer where data will be returned πΈ like, this is where the output actually lands. it's achar *and yes you have to be nice to it.
π SEE ALSO π
the kernel file in question lives at:
./drivers/net/wireless/marvell/libertas/mesh.c
and here's the whole squad of related pages, fr fr β every single one of them, no skipping π:
anycast_mask_show(9)anycast_mask_store(9)prb_rsp_limit_show(9)prb_rsp_limit_store(9)lbs_mesh_show(9)lbs_mesh_store(9)bootflag_store(9)boottime_show(9)boottime_store(9)channel_show(9)channel_store(9)mesh_id_show(9)mesh_id_store(9)protocol_id_show(9)protocol_id_store(9)metric_id_show(9)metric_id_store(9)capability_show(9)capability_store(9)lbs_mesh_stop(9)lbs_mesh_dev_open(9)lbs_add_mesh(9)
β¨ bestie PSA: there's a matching bootflag_store(9) in that list too, so if you came here looking for the write side, that's your girl π
and that's the page!! π source/version is ./drivers/net/wireless/marvell... and the date is October 2026 β so like, it's from the future?? iconic of it honestly. ok bye, go read bootflag_store(9) next, 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