path: root/fsck.btrfs
diff options
authorZach Brown <>2015-03-27 14:58:43 -0700
committerDavid Sterba <>2015-04-02 17:03:20 +0200
commit6f0a14303fec3bf9f670eaf07e73a28e566a0855 (patch)
treeb66a743f55e51f3816e7270e60795fa5d92661f4 /fsck.btrfs
parent7542cc326880f57c855c983aea693bfc137572d5 (diff)
btrfs-progs: silence fake fsck
Harald suggested that we remove the message from the fake fsck.btrfs that some distros run at boot: "This output does not add anything, but is a disturbing element of booting up a system. It's the only message I get, when starting my system, before gdm is started." I'm inclined to agree. This makes the tiniest change to remove the message that's output for an auto invocation. My guess is that it was just copied from the xfs fsck.xfs and that no one actually cares about it. Signed-off-by: Zach Brown <> Signed-off-by: David Sterba <>
Diffstat (limited to 'fsck.btrfs')
1 files changed, 1 insertions, 3 deletions
diff --git a/fsck.btrfs b/fsck.btrfs
index e90043a5..f056a7f1 100755
--- a/fsck.btrfs
+++ b/fsck.btrfs
@@ -31,9 +31,7 @@ if [ ! -e $DEV ]; then
echo "$0: $DEV does not exist"
exit 8
-if $AUTO; then
- echo "$0: BTRFS file system."
+if [ "$AUTO" == "false" ]; then
echo "If you wish to check the consistency of a BTRFS filesystem or"
echo "repair a damaged filesystem, see btrfs(8) subcommand 'check'."