[backports] hdparm

Alexey I. Froloff raorn на altlinux.org
Ср Сен 1 10:08:17 UTC 2010


On Wed, Sep 01, 2010 at 12:45:19PM +0400, Mihail Kolchin wrote:

Вопрос номер раз - а при чём тут backports?

> В /etc/sysconfig/harddisks перепробовал все что можно:
> Обновил пакет из сизифа, создал /etc/sysconfig/harddisk/sda:
А это не будет работать.  /etc/rc.d/scripts/idetune (который
обрабатывает /etc/sysconfig/harddisk) будет работать только с
/dev/hd[a-t]:

 21 for i in a b c d e f g h i j k l m n o p r s t; do
 22   if [ -e "/proc/ide/hd$i/media" ]; then
 23     hdmedia=`cat /proc/ide/hd$i/media`
 24     if [ "$hdmedia" = disk ]; then
...
 33       SourceIfNotEmpty /etc/sysconfig/harddisks && sourced=1
 34       SourceIfNotEmpty /etc/sysconfig/harddisk/hd$i && sourced=1
...
 58     elif [ "$hdmedia" = cdrom ]; then
...

И так далее...

Так что пишите явный вызов hdparm в rc.local.

См. такж. https://bugzilla.altlinux.org/20197

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: Digital signature
Url     : <http://lists.altlinux.org/pipermail/backports/attachments/20100901/06b1d5cf/attachment.bin>


Подробная информация о списке рассылки backports