Date: Thu, 4 Feb 2010 03:44:33 +0100 From: =?UTF-8?Q?Ond=C5=99ej_Majerech?= <oxyd.oxyd@gmail.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-hackers@freebsd.org, Oliver Fromme <olli@lurza.secnetix.de>, jkim@freebsd.org, alexbestms@wwu.de Subject: Re: Spin down HDD after disk sync or before power off Message-ID: <f60d361f1002031844l2eb3a9f8s6602a219e98efac5@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.1002031328060.9787@wonkity.com> References: <201002031343.o13Dhj7i052507@lurza.secnetix.de> <alpine.BSF.2.00.1002031328060.9787@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3 February 2010 21:44, Warren Block <wblock@wonkity.com> wrote: > Are there any other device drivers that differentiate the reboot and > poweroff actions that could be used as inspiration or simply shamelessly > copied in modifying ata-disk? > I don't know about FreeBSD drivers, but I used NetBSD briefly on my notebook, and I noticed that it spun the disk down properly before poweroff. It was a very distinctive sound from what FreeBSD made on shutdown -p. So perhaps you could see how NetBSD guys do it and get some ideas from there? ~ Ondra
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f60d361f1002031844l2eb3a9f8s6602a219e98efac5>