Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2010 16:29:02 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        Bruce Cran <bruce@cran.org.uk>, Tijl Coosemans <tijl@coosemans.org>, Oliver Fromme <olli@lurza.secnetix.de>, freebsd-hackers@freebsd.org, Garrett Cooper <gcooper@FreeBSD.org>, =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Subject:   Re: Summary: Re: Spin down HDD after disk sync or before power off
Message-ID:  <4CC8291E.1060002@FreeBSD.org>
In-Reply-To: <20101027125453.GA8433@freebsd.org>
References:  <201009161742.24228.tijl@coosemans.org> <201009161619.o8GGJAmv035378@lurza.secnetix.de> <20101018155944.GA12425@freebsd.org> <868w1r92rf.fsf@ds4.des.no> <20101021122110.GA65490@freebsd.org> <86zku77mj6.fsf@ds4.des.no> <20101021135442.000054c9@unknown> <20101021134114.GB72290@freebsd.org> <20101027124113.GA6206@freebsd.org> <AANLkTi=hvkXvAkv68jjpJSKSKZ5a-0yn=Vje4ZjSPc=F@mail.gmail.com> <20101027125453.GA8433@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Best wrote:
> On Wed Oct 27 10, Garrett Cooper wrote:
>>     Why not just be consistent with other interfaces and provide
>> suffixes for the values to parse out integral times (i.e. 1 [second],
>> 1m, 2h)? As long as the value is behavior is properly documented in
>> the manpage (and potentially as examples in the usage message), that
>> should be enough.
> 
> that would increase usability, since users don't have to specify large values
> in seconds, if they e.g. want the spindown to happen after 24 hours (24*60*60).

Largest value that could be set more or less precisely for ATA disks is
5.5hours. Absolute maximum is 12 hours. So 24h interval is just
inapplicable.

> but this will not solve the real issue: specifying 'atacontrol spindown 1s'
> WILL damage your hardware! imo users should be reminded about this even if this
> is already mentioned in the manual.

I would say "WILL" depends on hardware. And it's reasonability also
depends on situation.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC8291E.1060002>