nilfs_resize_fs(9)
π NAME π
okay so bestie, welcome to the nilfs_resize_fs(9) manual page β yes, thatβs the manual name, and this is your Kernel API Manual moment. The function is nilfs_resize_fs, and its whole job is literally: resize the filesystem. Thatβs the NAME. iconic. π
β¨ SYNOPSIS β¨
int nilfs_resize_fs (struct super_block *sb , __u64 newsize );
πΈ ARGUMENTS πΈ
sbβ the super block instance. yep, thatβs the one, bestie π«Άnewsizeβ the new size of the filesystem (in bytes). not vibes, bytes. π
π₯ RETURN π₯
Hereβs the return vibe check:
0β success, slay. π«Ά- a negative error code β failure, and lowkey thatβs the whole story. π
No cap: 0 on success, or a negative error code on failure.
π¦ SEE ALSO π¦
Go peek at these, iykyk:
- Kernel file
./fs/nilfs2/super.c__nilfs_error(9)β go read it, bestie nilfs_cleanup_super(9)nilfs_move_2nd_super(9)nilfs_tree_is_busy(9)nilfs_fill_super(9)
mwah π β this oneβs signed off from the source/version stamp ./fs/nilfs2, dated October 2026, and the manual name is nilfs_resize_fs(9). bye bestie π§ββοΈπ
π¦ 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