Bug 62915 - hdparm doesn't work with udev if /dev/ide does not exist
Bug#: 62915 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: lanius@gentoo.org Reported By: tihirvon@ee.oulu.fi
Component: Core system
URL: 
Summary: hdparm doesn't work with udev if /dev/ide does not exist
Keywords:  
Status Whiteboard: 
Opened: 2004-09-05 05:10 0000
Description:   Opened: 2004-09-05 05:10 0000
hdparm init script assumes /dev/ide/ exists if udev is used. I use udev without
devfs compatible devices (/dev/hda instead of /dev/ide/...).

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Timo Hirvonen 2004-09-05 05:12:03 0000 -------
Created an attachment (id=38974) [details]
check if /dev/ide exists. whitespace clean ups

------- Comment #2 From Heinrich Wendel (RETIRED) 2004-09-08 09:20:54 0000 -------
thx, applied the patch in hdparm-5.7-r1

------- Comment #3 From Joseph Roback 2005-09-06 03:15:37 0000 -------
I think there is a bug in the fix. 
 
I use udev-068 and it seems to no longer create /dev/ide entries, though I am 
not sure why, but I have a CDROM, /dev/hde, but the code in the script that 
checks to see if the device is a block-device and is open for reading fails for  
a valid cdrom, unless there is media in the cdrom. If i put a cd in the drive 
the /etc/init.d/hdparm script works.