There should be a symlink /sbin/fsck.btrfs -> /sbin/btrfsck It is not automatically created. I manually ran "ln -s /sbin/btrfsck /sbin/fsck.btrfs" This would make running /sbin/fsck in scripts easier because this tool detects the file system in the /etc/fstab and than executes /sbin/fsck.$(FILE_SYSTEM)
The btrfs wiki basically says not to do this. They recommend making fsck.btrfs a symlink to /bin/true. https://btrfs.wiki.kernel.org/index.php/FAQ#When_will_Btrfs_have_a_fsck_like_tool.3F
Ok,than i propose to link it to /bin/true. But what if /bin/true is a link to /bin/busybox ? This would only cause trouble ...
I thought it over, and I'm just going to leave it as-is. fstab should be configured to not run fsck for btrfs filesystems; putting in the /bin/true symlink would only mask this from the sysadmin. slyfox: If you disagree, feel free to implement whatever solution you think is best here.
(In reply to comment #3) > I thought it over, and I'm just going to leave it as-is. fstab should be > configured to not run fsck for btrfs filesystems; putting in the /bin/true > symlink would only mask this from the sysadmin. > > slyfox: If you disagree, feel free to implement whatever solution you think > is best here. I agree. btrfs is not mature enough to claim it has an fsck. Explicit fail is a good thing. I think btrfs' wiki suggests a symlink because some tools just refuse to boot when fsck is missing.
*** Bug 478704 has been marked as a duplicate of this bug. ***