[Parted-maintainers] Bug#632039: [gnu-fdisk] Reports disk size one byte less than the real size
Roman Mamedov
rm at romanrm.ru
Wed Jun 29 09:41:15 UTC 2011
Package: gnu-fdisk
Version: 1.2.4-3+b1
Severity: normal
Hello,
# blockdev --getsize64 /dev/sda
2000398934016
# cfdisk /dev/sda
--
ATA Hitachi HDS5C302
Disk: /dev/sda Disk type: msdos Size: 2000398934015B, 2000399MB
--
This is the case on all disks and all machines I tried.
On the same machines cfdisk from util-linux returns the proper disk size matching the output of "blockdev".
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.39.1-rm1
Debian Release: wheezy/sid
500 unstable www.emdebian.org
500 testing wheezy.natsu.romanrm.ru
500 maverick ppa.launchpad.net
--- Package information. ---
Depends (Version) | Installed
=======================================-+-==================
libc6 (>= 2.7) | 2.13-7
libncurses5 (>= 5.7+20100313) | 5.9-1
libparted0debian1 (>= 2.2-1) | 2.3-6
libreadline6 (>= 6.0) | 6.2-2
libuuid1 (>= 2.16) | 2.17.2-9.1
dpkg (>= 1.15.4) | 1.16.0.3
OR install-info | 4.13a.dfsg.1-6
Package's Recommends field is empty.
Package's Suggests field is empty.
--
With respect,
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20110629/88acb729/attachment.pgp>
More information about the Parted-maintainers
mailing list