Skip to content
EntityQ283865· pop 25· linked from 50 articles

Also known as Filesystem check

The system utility fsck (file system check) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux, macOS, and FreeBSD. The equivalent programs on MS-DOS and Microsoft Windows are CHKDSK, SFC, and SCANDISK.

Key facts

Software.name
fsck
Software.screenshot
Fsck output.jpg
Software.screenshot size
250px
Software.caption
fsck in action on a Linux system.
Software.operating system
Unix and Unix-like
Software.genre
Command

via Wikipedia infobox

Wikidata facts

Image
Fsck output.jpg
Sources (1)

via Wikidata · CC0

~5 min read

Article

8 sections
Contents
  • Use
  • Boot time
  • History
  • As a minced oath
  • Examples
  • See also
  • References
  • External links

The system utility fsck (file system check) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux, macOS, and FreeBSD. The equivalent programs on MS-DOS and Microsoft Windows are CHKDSK, SFC, and SCANDISK.

==Use== Generally, fsck is run either automatically at boot time, or manually by the system administrator. The command works directly on data structures stored on disk, which are internal and specific to the particular file system in use - so an fsck command tailored to the file system is generally required. The exact behaviors of various fsck implementations vary, but they typically follow a common order of internal operations and provide a common command-line interface to the user. On modern systems, fsck simply detects the type of filesystem and calls the specialized (Linux) or (BSD, macOS) program for each type.

Connections

Categories