Package: reiserfsprogs Version: 1:3.6.19-6 Severity: normal The exit codes for reiserfsck mentioned under "AN EXAMPLE OF USING reiserfsck" do not seem to tally with those listed under "EXIT CODES". It is possible that these refer to different sets of error codes (for --check versus the fixing operations), but that should be documented if so. Otherwise, one of the lists is wrong and should be fixed.
Example: Under "AN EXAMPLE OF USING reiserfsck", it says: 3. If reiserfsck --check exits with status 1 (and reports about fixable corruptions) it means that you should run reiserfsck --fix-fixable --log file fixable.log /dev/hda1. This suggests that exit code 1 means "errors found, fixable with --fix-fixable", but under "EXIT CODES" we find: 1 - File system errors corrected. and the situation we're in sounds rather more like: 6 - File system fixable errors left uncorrected, reiserfsck --fix-fixable needs to be launched. Looking at the source code in fsck.h, the exit codes defined correspond to those documented under "EXIT CODES". Looking at the C source, every call to exit() seems to use one of these codes. Further, it seems that wehn reporting that fsck found corruptions that are fixable with --fix-fixable, it does indeed set the exit code to EXIT_FIXABLE, i.e. 6. Hence, it seems that the section "AN EXAMPLE OF USING reiserfsck" needs the following corrections: a. In item 3, "status 1" should be "status 6". b. In item 4, "status 2" should be "status 4". -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages reiserfsprogs depends on: ii libc6 2.7-16 GNU C Library: Shared libraries ii libuuid1 1.41.3-1 universally unique id library reiserfsprogs recommends no packages. reiserfsprogs suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org