nilfs_resize_fs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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