Bug 63413

Summary: /etc/rc.sysinit can't set parameters for cdrom
Product: [Retired] Red Hat Linux Reporter: Bryce Nesbitt <bryce>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-13 14:09:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 63415    

Description Bryce Nesbitt 2002-04-13 14:01:57 UTC
/etc/rc.sysinit, for no good reason, restricts seting of ide drive paramters to
media type "disk".  Often a "cdrom" will require the exact same treatment (for
example, to disable DMA).

Something like this is required:


<if [ "$hdmedia" = "disk" ]; then
---
>if [ "$hdmedia" = "disk" ] || [ "$hdmedia" = "cdrom" ]; then

(note that you actually have to move it a little later, after the device is
mounted).

Comment 1 Bill Nottingham 2002-04-15 02:34:41 UTC
A similar tweak will be in 6.64-1; it will set parameters for any media IFF
there is a specific config file for that device.