Summary: | sys-apps/hdparm: add support for disk id in /etc/init.d/hdparm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Axel <axel> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | axel, gentoo, s7mon |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for sys-apps/hdparm-9.39
Updated version hdparm-init.patch |
Description
Axel
2012-12-23 22:15:02 UTC
Created attachment 333172 [details, diff]
patch for sys-apps/hdparm-9.39
Improved patch (fix hdparm was called when args was not set) and works against sys-apps/hdparm-9.39 (tested).
Thank you for the nice patch! This patch should be accepted, I think. Created attachment 435586 [details, diff]
Updated version hdparm-init.patch
Nice patch - works very well for me.
Two things, however:
1) To install a version of hdparm that includes the patch, it should be against sys-apps/hdparm/files/hdparm-init-8, not against /etc/init.d/hdparm
2) You have to mask not only '-', but ':' (and probably other special characters), too. Replacing colons by underscores is included in this updated patch. USB sticks tend to have colons in their ids...
Would very much like to see that included in the official hdparm ebuild.
Best,
Torsten
|