Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Here's my entry in the "new hdparm rc script" category. This one addresses the issues raised in several open bugs: GOALS ----- 1. handle both devfs and non-devfs systems (bug #35273) 2. handle systems without discs or cdroms (bug #20816) 3. handle ide-scsi devices (bug #35458) 4. don't mistakenly run hdparm on non-ide devices (bug #16848) It also tries to be clean and efficient. This script is compatible with the extant /etc/conf.d/hdparm, but introduces some new variables. The first are hdX_args, which are required for non-devfs systems and which, if defined, override discX_args and cdromX_args on devfs systems. The second are genericX_args, which apply to the generic (e.g., ide-scsi) devices. The script is commented with a description of its method of operation. Reproducible: Always Steps to Reproduce:
Created an attachment (id=23523) [details] new hdparm rc script
Created an attachment (id=23524) [details] fixed version made it behave as described w/r/to hdX_args overriding discX_args and cdromX_args
Created an attachment (id=33886) [details] new version changed depend() so it runs before bootmisc instead of before * .. this seems to be as early as possible with the gentoo init system and avoids annoying "circular dependency with checkroot" warnings cleaned up a little
finally added in hdparm-5.5-r1 with small cleanups: - added udev support - remove empty lines at the end - changed all [[ to [