FSCK_MSDOSFS(8)
π 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 forfsck(8)compatibility. literally just there to keep the wrapper happy. π-Cβ Ignored forfsck(8)compatibility. same vibe, different letter. β¨-Fβ Compatibility with the wrapperfsck(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β Causesfsck_msdosfsto not usemmap(2)when checking a FAT32 file system. This option is mainly for debugging purposes and is not normally necessary. Thefsck_msdosfsutility will automatically fall back to use a simple LRU cache of 4 MiB when it failed to performmmap(2), or when-Mis specified. debug girlie behavior, but valid. π§-fβ Forcefsck_msdosfsto check βcleanβ file systems when preening. yes, we're checking the βcleanβ ones too. π₯-nβ Causesfsck_msdosfsto 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β Causesfsck_msdosfsto 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
- Copyright (C) 1995 Wolfgang Solfrank
- Copyright (c) 1995 Martin Husemann
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms