FSCK.SSDFS(8)

πŸ“¦ version 4.68, in nixos 26.05, nixpkgs unstable

πŸ”₯ FSCK.SSDFS(8) β€” bestie edition πŸ’…

okay so picture this: it's a System Administration Commands kind of day, and you're staring at fsck.ssdfs. Don't panic, babe β€” I got you. Let's get into it. ✨


🌸 NAME 🌸

fsck.ssdfs β€” check and recover your SSDFS file system, bestie! 🫢


πŸŽ€ SYNOPSIS πŸŽ€

fsck.ssdfs [options] device

πŸ’– DESCRIPTION πŸ’–

So fsck.ssdfs literally checks the consistency of an SSDFS file system and can optionally repair it. She's out here doing all these consistency checks on the file system structures, and she can automatically repair the errors or corruption she finds. No cap, she's the main character of file system health. πŸ‘‘


✨ OPTIONS ✨

  • -B, --pagesize size β€” the page size of the target device. Supported sizes: 4KB, 8KB, 16KB, 32KB. Pick your fighter πŸ’…
  • -d, --debug β€” show debug output. For when you wanna see everything πŸ™ˆ
  • -e, --erasesize size β€” the erase size of the target device. Supported sizes: 128KB, 256KB, 512KB, 1MB, 2MB, 4MB, 8MB, and larger powers of 2. Lowkey a whole menu πŸ“
  • -f, --force β€” force the check even if the filesystem is marked clean. She does not care that it says it's fine 😭
  • -h, --help β€” display the help message and exit. Classic bestie move πŸ₯°
  • -j, --threads number β€” define the number of threads for parallel processing. Multitasking icon 🧚
  • -n, --no-change β€” make no changes to the filesystem, aka a read-only check. Look but don't touch, periodt πŸ’œ
  • -p, --auto-repair β€” automatic repair of detected errors without user interaction. She just fixes it, no questions asked ✨
  • -q, --quiet β€” quiet execution, which is useful for scripts. Shhh, she's working 🀫
  • -s, --segsize size β€” the segment size of the target device. Supported sizes: 128KB, 256KB, 512KB, 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, and larger powers of 2. The way that list just keeps going πŸ”₯
  • -y, --yes-all-questions β€” assume YES to all questions, aka non-interactive mode. Consent via flag, we love a decisive queen πŸ‘‘
  • -v, --be-verbose β€” be verbose during operation. She's a talker and honestly? Same πŸ’…
  • -V, --version β€” print the version and exit. Quick little flex 🌈

πŸ¦‹ OPERATION MODES πŸ¦‹

fsck.ssdfs can operate in several modes depending on the options you give her:

  • Check mode (default) β€” performs consistency checks and reports errors without making changes. She's just observing, ngl πŸ‘€
  • Repair mode (-p) β€” automatically repairs detected errors without user interaction. Glow-up specialist fr fr ✨
  • Interactive mode β€” prompts the user for confirmation before making repairs; this is the default unless -p or -y is specified. She asks first, she's polite 🫢
  • Read-only mode (-n) β€” only performs checks without any modifications to the filesystem. Zero drama, zero changes, iconic πŸ’–

⭐ EXIT STATUS ⭐

fsck.ssdfs exits with these status codes, so you can read her mood:

  • 0 β€” no errors detected. Immaculate vibes πŸ‘‘
  • 1 β€” file system errors corrected. Fixed it, slay πŸ’…
  • 2 β€” file system errors detected but not corrected. She saw it. She left it. 😭
  • 4 β€” file system errors detected, corrections recommended. Bestie, you should fix that πŸ™ˆ
  • 8 β€” operational error. Something went sideways πŸ’€
  • 16 β€” usage or syntax error. You typed it wrong, no cap 🌸

🌈 EXAMPLES 🌈

Check the filesystem without making changes:

# fsck.ssdfs -n /dev/sdb1

Automatically repair the filesystem:

# fsck.ssdfs -p /dev/sdb1

Force the check even if the filesystem is clean:

# fsck.ssdfs -f /dev/sdb1

Verbose check with automatic yes to all questions:

# fsck.ssdfs -v -y /dev/sdb1

🧚 SEE ALSO 🧚

mkfs.ssdfs(8), tune.ssdfs(8), dump.ssdfs(8) β€” the whole friend group, go say hi πŸ’œ


πŸ’œ AUTHORS πŸ’œ

Viacheslav Dubeyko <slava@dubeyko.com> β€” the mastermind behind all this ✨


Copyright (c) 2025-2026 Viacheslav Dubeyko SPDX-License-Identifier: BSD-3-Clause-Clear


aaaand that's the whole page, bestie! 🫢 This lil tour was brought to you by ssdfs-utils, dated 2025-08-30, straight from the FSCK.SSDFS(8) section of the System Administration Commands manual. Go forth and check those file systems β€” you got this, periodt. πŸ’–πŸ”₯

πŸ“¦ where this page comes from