Bug 188981 - RHEL4: "sfdisk -l" tries to open partitions
Summary: RHEL4: "sfdisk -l" tries to open partitions
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: util-linux
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
: 193653 194493 (view as bug list)
Depends On:
Blocks: 181409
TreeView+ depends on / blocked
Reported: 2006-04-14 07:16 UTC by Karel Zak
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2006-08-10 21:43:31 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0406 normal SHIPPED_LIVE util-linux bug fix update 2006-08-09 04:00:00 UTC

Description Karel Zak 2006-04-14 07:16:21 UTC
+++ This bug was initially created as a clone of Bug #188488 +++

Doing an "sfdisk -l" will try to open partitions as if they were disks, and fail
to read the partition table.

Patch attached. It makes use of the same is_probably_full_disk() as fdisk.

-- Additional comment from bnocera@redhat.com on 2006-04-10 11:54 EST --
Created an attachment (id=127554)

Comment 4 Karel Zak 2006-05-31 15:30:05 UTC
*** Bug 193653 has been marked as a duplicate of this bug. ***

Comment 5 Karel Zak 2006-06-08 19:30:22 UTC
*** Bug 194493 has been marked as a duplicate of this bug. ***

Comment 11 Red Hat Bugzilla 2006-08-10 21:43:31 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.