# man > fsck.btrfs(8)

---
type: CommandReference
command: fsck.btrfs
mode: man
section: 8
source: man-pages
---

## Quick Reference

- `fsck.btrfs [-aApy] [<device>...]` — compatibility stub for filesystem checks; does nothing successfully in non-interactive mode
- `btrfs check <device>` — actual consistency check and repair (see [btrfs-check(8)](https://www.chedong.com/phpMan.php/man/btrfs-check/8/markdown))

## Name

do nothing, successfully

## Synopsis

`fsck.btrfs` [-aApy] [<device>...]

## Options

All options are identical: they detect if `fsck.btrfs` is executed in non-interactive mode and exit with success; otherwise print a message about `btrfs check`.

- `-a` — non-interactive mode
- `-A` — non-interactive mode
- `-p` — non-interactive mode
- `-y` — non-interactive mode

## Exit Codes

- `0` — no error
- `8` — operational error (e.g., device does not exist)

## See Also

- [btrfs(8)](https://www.chedong.com/phpMan.php/man/btrfs/8/markdown)
- [fsck(8)](https://www.chedong.com/phpMan.php/man/fsck/8/markdown)
- [fstab(5)](https://www.chedong.com/phpMan.php/man/fstab/5/markdown)