RESIZE.F2FS(8)

πŸ’… NAME πŸ’…

okay bestie, welcome to the RESIZE.F2FS(8) page from the System Manager's Manual β€” this is resize.f2fs, and its whole brand is literally resize filesystem size. πŸ’–

✨ SYNOPSIS ✨

resize.f2fs [ -t target sectors ] [ -d debugging-level ] [ -o
       overprovision-ratio-percentage ] [ -f ] [ -F ] [ -g specific environment
       ] [ -H ] [ -s ] [ -V ] device

🌸 DESCRIPTION 🌸

resize.f2fs is used to resize an f2fs file system (usually in a disk partition). device is the special file corresponding to the device (e.g. /dev/sdXX). No cap, that's the whole setup. 🫢

Current version only supports expanding the prebuilt filesystem β€” that's the limit, periodt. 😭

The exit code returned by resize.f2fs is 0 on success and -1 on failure. Keep those receipts. 🧾✨

πŸŽ€ OPTIONS πŸŽ€

  • -t target sectors β€” specify the size in sectors. slay, very direct. πŸ’…
  • -d debugging-level β€” specify the level of debugging options. The default number is 0, which shows basic debugging messages. lowkey useful. πŸ‘€
  • -o overprovision-ratio-percentage β€” specify the percentage of the volume that will be used as overprovision area. This area is hidden to users, and utilized by F2FS cleaner. If not specified, the best number will be assigned automatically according to the partition size. iconic auto-pick behavior. ✨
  • -f β€” force to fix any inconsistent data during resize. dramatic but necessary energy. πŸ”₯
  • -F β€” skip caution dialogue and resize partition directly. main character move, fr fr. πŸ’€
  • -g specific environment β€” set default options for specific environment. okay, tailored vibes. πŸŽ€
  • -H β€” specify support write hint. yes bestie, that's what it says. πŸ¦‹
  • -s β€” enable safe resize, it can only be used w/ shrink resize. the page says it like that, so we keep it like that. πŸ’–
  • -V β€” print the version number and exit. cute little exit strategy. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

This version of resize.f2fs has been written by Jaegeuk Kim <jaegeuk@kernel.org> β€” author credit served properly, no cap. πŸ‘‘βœ¨

🌈 AVAILABILITY 🌈

resize.f2fs is available from git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git. go get your f2fs-tools bestie. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole RESIZE.F2FS(8) page, bestie β€” footer line source/version/date energy included, and we are so done. byeee πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from
  • arch rolling: f2fs-tools 1.17.0-1 Β· GPL-2.0-only AND (GPL-2.0-only OR LGPL-2.1-only)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms