fsck (or initlog) result codes

Leonard den Ottolander leonard at den.ottolander.nl
Thu Feb 5 16:21:14 UTC 2004


Hi,

> > > > > Could it be that fsck's result code on
> > > > > failure actually is -1? Or any other value?
> > 
> > Not off the top of my head without looking at the source code.
> 
> Does anybody else can answer this to save me the time to look it up?

Duh. Looking at the man page often helps ;) :

1: file system errors corrected
2: needs rebooting

Still wonder where that "needs rebooting" is set, since EXIT_DESTRUCT is
not used in the code.

Bye,
Leonard.

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






More information about the fedora-devel-list mailing list