| 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:
Created an attachment (id=38974) [details]
check if /dev/ide exists. whitespace clean ups
thx, applied the patch in hdparm-5.7-r1
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.