ALT Linux hardware support
 help / color / mirror / Atom feed
From: Andrei Lomov <lomov@math.nsc.ru>
To: hardware@lists.altlinux.org
Cc: community@lists.altlinux.org
Subject: Re: [Hardware] Есть ли в ALT Branch 4 баг cо слишком частой парковкой головок жёсткого диска?
Date: Mon, 05 Nov 2007 00:35:44 +0600
Message-ID: <fgl3en$dk6$1@ger.gmane.org> (raw)
In-Reply-To: <fgkvar$2ik$1@ger.gmane.org>

Andrei Lomov wrote:

> Где почитать, как работает "suspend to disk"
> в ALT 4 -- как прописать скрипт, чтобы он запускался
> после просыпания?

Пока сделал так:

/etc/powersave/sleep:
SUSPEND2DISK_RESTART_SERVICES="stop-hitachi-madness"

/etc/init.d/stop-hitachi-madness:
#!/bin/sh
 /sbin/hdparm -B 254 /dev/hda


Проверка после просыпания:
# /sbin/hdparm -I /dev/hda | grep power
        Advanced power management level: 254 (0xfe)

-- 
Всего доброго,
А.Л.




  reply	other threads:[~2007-11-04 18:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 11:53 ` Michael Shigorin
2007-11-04 12:37   ` Andrei Lomov
2007-11-04 13:28     ` Andrei Lomov
2007-11-04 17:25       ` Andrei Lomov
2007-11-04 18:35         ` Andrei Lomov [this message]
2007-11-05 13:28           ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fgl3en$dk6$1@ger.gmane.org' \
    --to=lomov@math.nsc.ru \
    --cc=community@lists.altlinux.org \
    --cc=hardware@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git