[Parted-maintainers] Bug#535448: /sbin/fdisk: [sparc] gnu-fdisk didn't show the partion length on sun disklabels

Hermann Lauer Hermann.Lauer at iwr.uni-heidelberg.de
Thu Jul 2 09:08:30 UTC 2009


Package: gnu-fdisk
Version: 1.2-1
Severity: normal
File: /sbin/fdisk


see output below, Blocks shouldn't be 0, as /proc/partions show.

# fdisk -l /dev/sda
GNU Fdisk 1.2.1
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Warning: The disk CHS geometry (1106,255,63) reported by the operating system does not match the geometry 
stored on the disk label
(7503,10,237).
   i   Ignore                                                             
   c   Cancel
i

Disk /dev/sda: 9 GB, 9104440320 bytes
10 heads, 237 sectors/track, 7503 cylinders
Units = cylinders of 2370 * 512 = 1213440 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1               1           1           0   83  Linux
/dev/sda2               2        6594           0   83  Linux
/dev/sda4            6595        7503           0   83  Linux

# cat /proc/partitions 
major minor  #blocks  name

   8     0    8891620 sda
   8     1       1185 sda1
   8     2    7812705 sda2
   8     3    8891055 sda3
   8     4    1077165 sda4

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.26-2-sparc64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnu-fdisk depends on:
ii  libc6          2.7-18                    GNU C Library: Shared libraries
ii  libncurses5    5.7+20081213-1            shared libraries for terminal hand
ii  libparted1.8-1 1.8.8.git.2008.03.24-11.1 The GNU Parted disk partitioning s
ii  libreadline5   5.2-3.1                   GNU readline and history libraries
ii  libuuid1       1.41.3-1                  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