btrfs-progs: docs: document exit codes from scrub
authorAdam Borowski <kilobyte@angband.pl>
Fri, 23 Sep 2016 21:51:57 +0000 (23:51 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Oct 2016 13:07:22 +0000 (15:07 +0200)
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/btrfs-scrub.asciidoc

index 40e793c..e88e684 100644 (file)
@@ -95,7 +95,14 @@ print separate statistics for each device of the filesystem
 EXIT STATUS
 -----------
 *btrfs scrub* returns a zero exit status if it succeeds. Non zero is
-returned in case of failure.
+returned in case of failure:
+
+1::::
+scrub couldn't be performed
+2::::
+there is nothing to resume
+3::::
+scrub found uncorrectable errors
 
 AVAILABILITY
 ------------