nilfs_ioctl_resize(9)
π nilfs_ioctl_resize(9) β the Kernel API Manual page, but make it make sense π¦
okay so bestie, welcome to the Kernel API Manual entry for nilfs_ioctl_resize(9) β yes the whole manual is called nilfs_ioctl_resize(9) too, it's giving name twins, we love that for them β¨
πΈ NAME πΈ
nilfs_ioctl_resize β resize a NILFS2 volume. that's it, that's the whole gig. she resizes. she's a volume resizer. iconic behaviour honestly π
β¨ SYNOPSIS β¨
int nilfs_ioctl_resize (struct inode *inode , struct file *filp , void
__user *argp );
look at her signature, so clean, so three-argument π note the spacing is exactly as written, no cap, keep it verbatim bestie π«Ά
π ARGUMENTS π
inodeβ the inode object. the actual file-system-node main character of this whole operation π§filpβ the file object. yes that's the real parameter name, yes it's silly, we're moving on πargpβ pointer on argument from userspace. so this is the little userland care package getting handed over π
β RETURN β
0on success π- a negative error code on failure π β so like, if the vibe check fails, you get a negative number back. that's the whole contract fr fr
π¦ SEE ALSO π¦
and now the part where we tag literally everyone in the group chat. the kernel file itself is ./fs/nilfs2/ioctl.c, and it says bring your friends:
nilfs_ioctl_wrap_copy(9)nilfs_fileattr_get(9)nilfs_fileattr_set(9)nilfs_ioctl_getversion(9)nilfs_ioctl_change_cpmode(9)nilfs_ioctl_delete_checkpoint(9)nilfs_ioctl_do_get_cpinfo(9)nilfs_ioctl_get_cpstat(9)nilfs_ioctl_do_get_suinfo(9)nilfs_ioctl_get_sustat(9)nilfs_ioctl_do_get_vinfo(9)nilfs_ioctl_do_get_bdescs(9)nilfs_ioctl_get_bdescs(9)nilfs_ioctl_move_inode_block(9)nilfs_ioctl_move_blocks(9)nilfs_ioctl_delete_checkpoints(9)nilfs_ioctl_free_vblocknrs(9)nilfs_ioctl_mark_blocks_dirty(9)nilfs_ioctl_clean_segments(9)nilfs_ioctl_sync(9)nilfs_ioctl_trim_fs(9)nilfs_ioctl_set_alloc_range(9)nilfs_ioctl_get_info(9)nilfs_ioctl_set_suinfo(9)nilfs_ioctl_get_fslabel(9)nilfs_ioctl_set_fslabel(9)
like ok that's a lot of friends but every single one of them is invited, don't skip anybody, that's rude π
π the cute sign-off π
this whole vibe lives under ./fs/nilfs2, dated October 2026, and it's filed under the name nilfs_ioctl_resize(9) one more time for the people in the back π
mwah, go resize something responsibly, ily, bye ππ
π¦ 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