From f28d85fad599ffaef9a8e1f353911c81a6605d2f Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 1 Apr 2018 21:23:32 +0200 Subject: fsck: add initial implementation Most corruption cases except xattr should be covered. With test filesystem. The output is still pretty ugly. xattr support will be added in the next commits. --- internal/exitcodes/exitcodes.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal') diff --git a/internal/exitcodes/exitcodes.go b/internal/exitcodes/exitcodes.go index 209656c..36f2aae 100644 --- a/internal/exitcodes/exitcodes.go +++ b/internal/exitcodes/exitcodes.go @@ -61,6 +61,8 @@ const ( // Profiler - error occoured when trying to write cpu or memory profile or // execution trace Profiler = 25 + // FsckErrors - the filesystem check found errors + FsckErrors = 26 ) // Err wraps an error with an associated numeric exit code -- cgit v1.2.3