Replace "sfdisk -l" with "fdisk -l" to give more useful information

Bug #673410 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Fix Released
Low
Martin Ohlsson

Bug Description

Now linaro-media-create is using "sfdisk -l" to list storage devices attached to host system. Output is maybe useful for storage hackers but rather not for users:

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Disk /dev/sdg: 7297 cylinders, 255 heads, 63 sectors/track
Disk /dev/sdb: 182401 cylinders, 255 heads, 63 sectors/track
Disk /dev/sdi: 1016 cylinders, 128 heads, 62 sectors/track
Disk /dev/sdh: 493 cylinders, 255 heads, 63 sectors/track

Replacing it with "fdisk -l" gives more useful stuff:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
Disk /dev/sdg: 60.0 GB, 60022480896 bytes
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdi: 4131 MB, 4131389440 bytes
Disk /dev/sdh: 4059 MB, 4059037696 bytes

That's on same system.

Marcin Juszkiewicz (hrw)
description: updated
Steve Langasek (vorlon)
Changed in linaro-image-tools:
status: New → Triaged
importance: Undecided → Low
Changed in linaro-image-tools:
assignee: nobody → Martin Ohlsson (martin-ohlson)
status: Triaged → In Progress
Changed in linaro-image-tools:
status: In Progress → Fix Committed
Changed in linaro-image-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.