Bug 162719 - Restore BLKRRPART semantics
Restore BLKRRPART semantics
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Doug Ledford
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-07 20:11 EDT by Bob Miller
Modified: 2008-10-02 10:03 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-02 10:03:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch to fix BLKRRPART ioctl (742 bytes, patch)
2005-07-07 20:13 EDT, Bob Miller
no flags Details | Diff

  None (edit)
Description Bob Miller 2005-07-07 20:11:09 EDT
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-07 20:13:05 EDT
Created attachment 116496 [details]
Patch to fix BLKRRPART ioctl
Comment 2 Doug Ledford 2008-10-02 10:03:34 EDT
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.