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. /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
