diff options
author | Jakob Unterwurzacher | 2018-04-01 21:23:32 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-04-02 16:38:18 +0200 |
commit | f28d85fad599ffaef9a8e1f353911c81a6605d2f (patch) | |
tree | 1acc3514a5dde31e88ad13e8dc48818872e40d0f /internal/exitcodes | |
parent | fb06c65ee90e31d11cf37b3469f7d3336ae51184 (diff) |
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.
Diffstat (limited to 'internal/exitcodes')
-rw-r--r-- | internal/exitcodes/exitcodes.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |