]> err.no Git - util-linux/commit
blockdev: fix "blockdev --getsz" for large devices
authorKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2007 13:06:18 +0000 (15:06 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2007 13:06:18 +0000 (15:06 +0200)
commit3281d4268a192cbd1951347a4a857b94428dc958
treea48a8696980f9b01dcfbc87c8eb864b2cd8b54aa
parent1002156a0667a9c907465db39e758f74152e73e4
blockdev: fix "blockdev --getsz" for large devices

The "blockdev --getsz" command doesn't try to use BLKGETSIZE64 when
previous BLKGETSIZE failed with EFBIG. This patch fixes this problem.

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/blockdev.c