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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"