Package: e2fsprogs
Version: 1.39+1.40-WIP-2006.11.14+dfsg-2
Severity: normal

Error messages add one to a too low 'lastblock':

    % badblocks -vs /dev/hdb1 1 2
    badblocks: invalid blocks range: 2-2
    % badblocks -vs /dev/hdb1 1 99
    badblocks: invalid blocks range: 99-2

Too high values vary more:

    % badblocks -vs /dev/hdb1 20000000000 3
    badblocks: invalid blocks range: 3-0
    % badblocks -vs /dev/hdb1 2000000000 20000000000
    badblocks: invalid blocks range: 4294967295-2000000001
    % badblocks -vs /dev/hdb1 2000000000000 20000000000
    badblocks: invalid blocks range: 4294967295-0

If the error ranges were correct that'd fix this bug, though it'd be
ideal (wishlist?) if the 'invalid blocks range' messages were
informative and conditional, perhaps like:

    badblocks: error, lastblock '1' is less than startblock '2'

    badblocks: error, lastblock '2000000000000' is greater than the /dev/hdb1 
maximum of 9518480.


Hope this helps...


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages e2fsprogs depends on:
ii  e2fslibs 1.39+1.40-WIP-2006.11.14+dfsg-2 ext2 filesystem libraries
ii  libblkid 1.39+1.40-WIP-2006.11.14+dfsg-2 block device id library
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii  libss2   1.39+1.40-WIP-2006.11.14+dfsg-2 command-line interface parsing lib
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library

e2fsprogs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to