[Parted-maintainers] Bug#632039: gnu-fdisk: I's more than one byte

Michal Suchanek michal.suchanek at ruk.cuni.cz
Tue Mar 6 16:18:49 UTC 2012


Package: gnu-fdisk
Version: 1.2.4-3+b1
Severity: normal


# blockdev --getsize64 /dev/sda
32017047552
# fdisk -l /dev/sda | grep sda:
Disk /dev/sda: 32 GB, 32012789760 bytes
32012789760
# hdparm -i /dev/sda | grep sect
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=62533296
# expr 62533296 \* 512
32017047552
# smartctl -a /dev/sda | grep User
User Capacity:    32,017,047,552 bytes [32.0 GB]

Gnu fdisk is clearly wrong here as three other tools agree on value
different from what gnu fdisk reports.


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'testing'), (410, 'unstable'), (200, 'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnu-fdisk depends on:
ii  dpkg                      1.16.1.2       Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.13-26        Embedded GNU C Library: Shared lib
ii  libncurses5               5.9-4          shared libraries for terminal hand
ii  libparted0debian1         2.3-5          The GNU Parted disk partitioning s
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  libuuid1                  2.17.2-9       Universally Unique ID library

gnu-fdisk recommends no packages.

gnu-fdisk suggests no packages.

-- no debconf information





More information about the Parted-maintainers mailing list