commands
fsck — Dispatch filesystem checkers
Preview checker invocation without executing it using -N. Actual check status is a bitmask; a preview does not establish consistency. Do not repair mounted storage. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
fsck -N [-t TYPE] IMAGEParameters & Attributes
| Name | Type | Description |
|---|---|---|
| -N | option | Preview |
| -t | option | Filesystem type |
| IMAGE | operand | Private image |
Return Value
exit status and output
Preview checker invocation without executing it using -N. Actual check status is a bitmask; a preview does not establish consistency. Do not repair mounted storage.
Working Example
Example Snippetlinux
fsck --help | grep -E "^ *-N " | awk '{print $1}'