[Bug 996495] [NEW] fdisk -l only reports Usage

Kilian Krause 996495 at bugs.launchpad.net
Tue May 8 11:51:05 UTC 2012


Public bug reported:

When running fdisk -l on a 12.04 precise host I get:

# fdisk -l
Usage:
 fdisk [options] <disk>    change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition>      give partition size(s) in blocks

Options:
 -b <size>             sector size (512, 1024, 2048 or 4096)
 -c[=<mode>]           compatible mode: 'dos' or 'nondos' (default)
 -h                    print this help text
 -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)
 -v                    print program version
 -C <number>           specify the number of cylinders
 -H <number>           specify the number of heads
 -S <number>           specify the number of sectors per track

# fdisk -l /dev/sda
Usage:
 fdisk [options] <disk>    change partition table
 fdisk [options] -l <disk> list partition table(s)
 fdisk -s <partition>      give partition size(s) in blocks

Options:
 -b <size>             sector size (512, 1024, 2048 or 4096)
 -c[=<mode>]           compatible mode: 'dos' or 'nondos' (default)
 -h                    print this help text
 -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)
 -v                    print program version
 -C <number>           specify the number of cylinders
 -H <number>           specify the number of heads
 -S <number>           specify the number of sectors per track

# mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
[...]
root at tyr:~# 

This is using version 2.20.1-1ubuntu3 - which seems to be the current
version.

Any ideas what's going wrong here?

Cheers,
Kilian

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/996495

Title:
  fdisk -l only reports Usage

Status in “util-linux” package in Ubuntu:
  New

Bug description:
  When running fdisk -l on a 12.04 precise host I get:

  # fdisk -l
  Usage:
   fdisk [options] <disk>    change partition table
   fdisk [options] -l <disk> list partition table(s)
   fdisk -s <partition>      give partition size(s) in blocks

  Options:
   -b <size>             sector size (512, 1024, 2048 or 4096)
   -c[=<mode>]           compatible mode: 'dos' or 'nondos' (default)
   -h                    print this help text
   -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)
   -v                    print program version
   -C <number>           specify the number of cylinders
   -H <number>           specify the number of heads
   -S <number>           specify the number of sectors per track

  # fdisk -l /dev/sda
  Usage:
   fdisk [options] <disk>    change partition table
   fdisk [options] -l <disk> list partition table(s)
   fdisk -s <partition>      give partition size(s) in blocks

  Options:
   -b <size>             sector size (512, 1024, 2048 or 4096)
   -c[=<mode>]           compatible mode: 'dos' or 'nondos' (default)
   -h                    print this help text
   -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)
   -v                    print program version
   -C <number>           specify the number of cylinders
   -H <number>           specify the number of heads
   -S <number>           specify the number of sectors per track

  # mount
  /dev/sda1 on / type ext4 (rw,errors=remount-ro)
  [...]
  root at tyr:~# 

  This is using version 2.20.1-1ubuntu3 - which seems to be the current
  version.

  Any ideas what's going wrong here?

  Cheers,
  Kilian

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/996495/+subscriptions




More information about the foundations-bugs mailing list