fsck (or initlog) result codes

Leonard den Ottolander leonard at den.ottolander.nl
Thu Feb 5 16:15:12 UTC 2004


Hello Bill,

> Not off the top of my head without looking at the source code.

fsck.h reads:

#define EXIT_OK          0
#define EXIT_NONDESTRUCT 1
#define EXIT_DESTRUCT    2
#define EXIT_UNCORRECTED 4
#define EXIT_ERROR       8
#define EXIT_USAGE       16
#define EXIT_LIBRARY     128

but a grep -lr EXIT_DESTRUCT in the root of the build tree renders
misc/fsck.h as the only result. Now how can the exit status be 3 in that
case?

This obviously needs further investigation unless somebody can give me
some answers.

Bye,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research






More information about the fedora-devel-list mailing list