FSCK_MSDOSFS(8)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’… fsck_msdosfs πŸ’…

okay bestie, welcome to the FSCK_MSDOSFS(8) page β€” the System Manager's Manual glow-up for the DOS/Windows (FAT) file system consistency checker. yes, we're checking FAT. no cap. πŸŽ€

🌸 NAME 🌸

fsck_msdosfs β€” DOS/Windows (FAT) file system consistency checker. she verifies, she repairs, she does not miss. πŸ’–

✨ SYNOPSIS ✨

fsck_msdosfs -p [-BCf] filesystem ...
fsck_msdosfs [-BCMny] filesystem ...

πŸ¦‹ DESCRIPTION πŸ¦‹

The fsck_msdosfs utility verifies and repairs FAT file systems β€” more commonly known as DOS file systems. lowkey iconic. πŸ’…

The first form of fsck_msdosfs preens the specified file systems. It is normally started by fsck(8) run from /etc/rc during automatic reboot, when a FAT file system is detected. When preening file systems, fsck_msdosfs will fix common inconsistencies non-interactively. If more serious problems are found, fsck_msdosfs does not try to fix them, indicates that it was not successful, and exits. no dramatic rescue mission, just a clean exit. 😭

The second form of fsck_msdosfs checks the specified file systems and tries to repair all detected inconsistencies, requesting confirmation before making any changes. consent first, always. 🫢

The options are as follows β€” ok gather round, bestie:

πŸ’– OPTIONS πŸ’–

  • -B β€” Ignored for fsck(8) compatibility. literally just there to keep the wrapper happy. πŸ’€
  • -C β€” Ignored for fsck(8) compatibility. same vibe, different letter. ✨
  • -F β€” Compatibility with the wrapper fsck(8) which seeks to determine whether the file system needs to be cleaned immediately in foreground, or if its cleaning can be deferred to background. FAT (MS-DOS) file systems must always be cleaned in the foreground. A non-zero exit code is always returned for this option. so yeah, foreground only, no background shortcuts. πŸ’…
  • -M β€” Causes fsck_msdosfs to not use mmap(2) when checking a FAT32 file system. This option is mainly for debugging purposes and is not normally necessary. The fsck_msdosfs utility will automatically fall back to use a simple LRU cache of 4 MiB when it failed to perform mmap(2), or when -M is specified. debug girlie behavior, but valid. 🧚
  • -f β€” Force fsck_msdosfs to check β€œclean” file systems when preening. yes, we're checking the β€œclean” ones too. πŸ”₯
  • -n β€” Causes fsck_msdosfs to assume β€œno” as the answer to all operator questions, except β€œCONTINUE?”. she's saying no to everything else, respectfully. πŸ™ˆ
  • -p β€” Preen the specified file systems. the classic preen moment. 🌸
  • -y β€” Causes fsck_msdosfs to assume β€œyes” as the answer to all operator questions. yes yes yes, she's agreeing to everything. πŸ’–

🌈 SEE ALSO 🌈

bestie homework: go read those too, iykyk. πŸ¦‹

πŸ‘‘ HISTORY πŸ‘‘

The fsck_msdosfs utility appeared in NetBSD 1.2. fsck_msdosfs first appeared in FreeBSD 4.4. history girlie with receipts. πŸ’…

πŸ’€ BUGS πŸ’€

The fsck_msdosfs utility is currently under development. she's a work in progress, okay? be nice. 😭


signing off from Debian on December 18, 2024 β€” FSCK_MSDOSFS(8), bestie edition, byeee! πŸ’…

πŸ“¦ where this page comes from
  • freebsd 15.1: base 15.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms