From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OnIHU-0004O9-Kr for garchives@archives.gentoo.org; Sun, 22 Aug 2010 21:40:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E61F4E08EA; Sun, 22 Aug 2010 21:39:52 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id B7488E08EA for ; Sun, 22 Aug 2010 21:39:52 +0000 (UTC) Received: from weird.localnet (p4FF041DA.dip.t-dialin.net [79.240.65.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.virtyou.com (Postfix) with ESMTPSA id D550B39A001 for ; Sun, 22 Aug 2010 23:39:52 +0200 (CEST) From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Disable fcron logging Date: Sun, 22 Aug 2010 23:39:47 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-tuxonice-r2; KDE/4.5.0; x86_64; ; ) References: <201008211525.35115.wonko@wonkology.org> <201008221226.28193.wonko@wonkology.org> <0059EB40-8530-454B-B092-ECA76E9F42A2@stellar.eclipse.co.uk> In-Reply-To: <0059EB40-8530-454B-B092-ECA76E9F42A2@stellar.eclipse.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Length: 1468 X-UID: 161 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008222339.48911.wonko@wonkology.org> X-Archives-Salt: 39603c6d-2097-48b3-8606-d29f33592cc4 X-Archives-Hash: b4588a58c2f3e36a21a46860ea202c3b 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. Wonko