On Mon, May 31, 2010 at 1:22 PM, Nicholas Leippe <n...@leippe.com> wrote:
> probably something like:
>
> sync && hdparm /dev/sdX --idle-unload && hdparm /dev/sdX -Y
>
> If you know what command your desktop option runs, you may be able to
> find the command that it's invoking by searching the output of running
> the binary through strings, or by replacing it with a wrapper script
> that straces it and search for exec() or system() calls.
>

Or maybe get so lucky as to see it in the arguments of a child that it
spawns via a ps listing.

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to