ubifs_ro_mode(9)
β¨ ubifs_ro_mode(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for ubifs_ro_mode β yes that's the whole title and yes it's iconic π
this one lives in the kernel API docs and it's short, sweet, and honestly kind of dramatic.
πΈ NAME πΈ
ubifs_ro_mode β switch UBIFS to read read-only mode. that's it. that's the vibe. one job, and it does it π₯
π SYNOPSIS π
void ubifs_ro_mode (struct ubifs_info *c , int err );
returns nothing (void), takes two things, slays quietly π«Ά
π¦ ARGUMENTS π¦
cβ the UBIFS file-system description object. literally the whole file system's little info bundle, main character energy πerrβ the error code that is the reason of switching to R/O mode. like, the receipts for why we're panicking π
β SEE ALSO β
these are all from the kernel file ./fs/ubifs/io.c, and they're basically the group chat that ubifs_ro_mode hangs out in β go read them too, no cap:
ubifs_check_node(9)ubifs_pad(9)next_sqnum(9)ubifs_prepare_node_hmac(9)ubifs_prepare_node(9)ubifs_prep_grp_node(9)wbuf_timer_callback_nolock(9)new_wbuf_timer_nolock(9)cancel_wbuf_timer_nolock(9)ubifs_wbuf_sync_nolock(9)ubifs_wbuf_seek_nolock(9)ubifs_bg_wbufs_sync(9)ubifs_wbuf_write_nolock(9)ubifs_write_node_hmac(9)ubifs_write_node(9)ubifs_read_node_wbuf(9)ubifs_read_node(9)ubifs_wbuf_init(9)ubifs_wbuf_add_ino_nolock(9)wbuf_has_ino(9)ubifs_sync_wbufs_by_inode(9)
that's the whole page, bestie β short king behavior honestly π
little sign-off moment: this one's filed under./fs/ubifs, datedOctober 2026, and the page isubifs_ro_mode(9). periodt π
π¦ 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