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 162719 - Restore BLKRRPART semantics
Summary: Restore BLKRRPART semantics
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Doug Ledford
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-08 00:11 UTC by Bob Miller
Modified: 2008-10-02 14:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-02 14:03:34 UTC


Attachments (Terms of Use)
Patch to fix BLKRRPART ioctl (deleted)
2005-07-08 00:13 UTC, Bob Miller
no flags Details | Diff

Description Bob Miller 2005-07-08 00:11:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Description of problem:
The code for BLKRRPART ioctl was changed to return -EIO when no partitions 
were found.  THis breaks some partitioning programs.  The attached patch fixes 
the problem.  The patch was accepted into the mainline linux kernel 2.6.10. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Open the disk with a partitioning program that doesn't support -EIO as an 
answer. 
2. 
3. 
   

Additional info:

Comment 1 Bob Miller 2005-07-08 00:13:05 UTC
Created attachment 116496 [details]
Patch to fix BLKRRPART ioctl

Comment 2 Doug Ledford 2008-10-02 14:03:34 UTC
This was fixed some time ago (I have no idea when).  Closing out.


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