Package: util-linux
Version: 2.12-10

In version 2.11n-7, fdisk -l will report a list of partitions on all disks.
In version 2.12-10, fdisk -l will report nothing unless a specific disk is 
given.

This may have been a concious choice, but I could not find anything about that. 
 
And the man pages are consistent with the way it did work.

-Terry

 

manpage for fdisk
       -l     List  the  partition  tables  for the specified devices and then
              exit.  If no devices are given, those mentioned in  /proc/parti-
              tions (if that exists) are used.


boccaccio:~# dpkg -l util-linux
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  util-linux     2.12-10        Miscellaneous system utilities
boccaccio:~# fdisk -l /dev/hda

Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1824    14651248+  83  Linux
/dev/hda3            3615        3738      996030   82  Linux swap
boccaccio:~# fdisk -l
boccaccio:~# 

 

--------------------------------------------
cellini:~# dpkg -l util-linux
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  util-linux     2.11n-7        Miscellaneous system utilities.
cellini:~# fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 7476 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      2432  19535008+  83  Linux
/dev/hda2          2433      2681   2000092+  82  Linux swap
/dev/hda3          2682      7476  38515837+   5  Extended
/dev/hda5          2682      7476  38515806   83  Linux
cellini:~# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 7476 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      2432  19535008+  83  Linux
/dev/hda2          2433      2681   2000092+  82  Linux swap
/dev/hda3          2682      7476  38515837+   5  Extended
/dev/hda5          2682      7476  38515806   83  Linux
cellini:~# 

Linux boccaccio 2.4.27-2-686 #1 Thu Jan 20 11:10:41 JST 2005 i686 GNU/Linux
lrwxrwxrwx  1 root root 13 2005-05-01 18:18 /lib/libc.so.6 -> libc-2.3.2.so


Reply via email to