Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 188488 - RHEL3: "sfdisk -l" tries to open partitions
Summary: RHEL3: "sfdisk -l" tries to open partitions
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: util-linux
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
Depends On:
Blocks: RHEL3U8CanFix
TreeView+ depends on / blocked
Reported: 2006-04-10 15:54 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHBA-2006-0456
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-07-20 14:48:07 UTC
Target Upstream Version:

Attachments (Terms of Use)
util-linux-sfdisk-dont-open-partitions.patch (deleted)
2006-04-10 15:54 UTC, Bastien Nocera
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0456 normal SHIPPED_LIVE util-linux and mount bug fix update 2006-07-19 18:48:00 UTC

Description Bastien Nocera 2006-04-10 15:54:14 UTC
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.

Comment 1 Bastien Nocera 2006-04-10 15:54:17 UTC
Created attachment 127554 [details]

Comment 9 Red Hat Bugzilla 2006-07-20 14:48:07 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.