Spin down HDD after disk sync or before power off

Oliver Fromme olli at lurza.secnetix.de
Wed Feb 3 13:44:04 UTC 2010

Alexander Best wrote:
 > imo this patch takes good care of the problem. would be nice to
 > have it in HEAD.

No -- *Please* make sure that the disks are only spun down
upon an actual power-off command (i.e. when reboot() is
called with the RB_POWEROFF flag).  In all other cases the
disks should keep running.  It's not good to have the disks
spin down and then immediately spin up again on every

Best regards

Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

(On the statement print "42 monkeys" + "1 snake":)  By the way,
both perl and Python get this wrong.  Perl gives 43 and Python
gives "42 monkeys1 snake", when the answer is clearly "41 monkeys
and 1 fat snake".        -- Jim Fulton

More information about the freebsd-hackers mailing list