public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Disable fcron logging
Date: Sun, 22 Aug 2010 23:18:23 +0100	[thread overview]
Message-ID: <201008222318.42995.michaelkintzios@gmail.com> (raw)
In-Reply-To: <201008222339.48911.wonko@wonkology.org>

[-- Attachment #1: Type: Text/Plain, Size: 1255 bytes --]

On Sunday 22 August 2010 22:39:47 Alex Schuster wrote:
> Stroller writes:
> > The script with which you reply is missing the sleep 60 loop.
> 
> No, it's only the script that outputs the drive's state. It's called by
> ~/.kde4/Autostart/hdstate:
> 
> #!/bin/bash
> 
> while :
> do
>         /usr/local/sbin/hdstate >> ~/log/hdstate.log
>         sleep 10
> done
> 
> > Running a script which contains `while true ... sleep 60` will cause
> > only a single logging action. You can run it as root at startup using /
> > etc/conf.d/local.start and have the file world readable.
> 
> Yeah, local.start woudl also be a good idea, without the need to setuid
> things. Maybe I'll change this.
> 
> BTW, my two additional drives spin up when I log into KDE. Weird, they are
> not even mounted.

From KDE-4.4.4 the start up interferes with the hard drives:

http://thread.gmane.org/gmane.linux.gentoo.user/232044

I don't why but it does, messes up any settings that hdparm may have set up 
and p*sses me off.  o_O

As soon as KDE starts up (even when waking up from suspend to ram) it resets 
the drives.  I haven't found a way of telling it how to behave (i.e. by 
respecting existing settings in hdparm).
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-08-22 22:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-21 13:25 [gentoo-user] Disable fcron logging Alex Schuster
2010-08-21 13:43 ` Alan McKinnon
2010-08-23 22:12   ` Alex Schuster
2010-08-24  6:49     ` Alan McKinnon
2010-08-21 19:26 ` Stroller
2010-08-22 10:26   ` Alex Schuster
2010-08-22 19:00     ` Stroller
2010-08-22 19:50       ` Stroller
2010-08-22 21:39       ` Alex Schuster
2010-08-22 22:18         ` Mick [this message]
2010-08-24 13:31           ` KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging) Alex Schuster
2010-08-25  9:54             ` [gentoo-user] Re: KDE and hdparm Alex Schuster
2010-08-25 19:14               ` Mick
2010-08-30 16:38             ` KDE and hdparm (was: Re: [gentoo-user] Disable fcron logging) Mick
2010-08-23 18:25         ` [gentoo-user] Disable fcron logging Stroller
2010-08-23 21:30           ` Alex Schuster

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=201008222318.42995.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox