[systemd-devel] systemd and hdparm

Mark Lord mlord at pobox.com
Fri Jun 22 05:38:23 PDT 2012


On 12-06-22 05:29 AM, Paul Menzel wrote:
..
> Besides that drives should be set up „optimally“ in the first place by
> the Linux kernel, how should users be able to set up there drives?
..

I don't deal much with distro init scripts.

But for SATA drives (libata) the kernel does generally set up
most of the relevant parameters appropriately.

hdparm is there for the exception cases on SATA,
such as fixing the power management parameters (APM),
enabling/disabling the write-cache,
setting appropriate spindown timer values for notebooks,
etc..

Similarly for IDE, except it is still often needed for
tweaking the DMA and multicount values, sometimes even
for IDE devices managed by libata.

It also gets used to correct the default DVD playback speed.

Those are all the kinds of things that a distro might stuff
into an init script.  Much of the rest of the functionality
of hdparm is less used, but still relevant to those who need it!  :)

Cheers
-- 
Mark Lord
Real-Time Remedies Inc.
mlord at pobox.com


More information about the systemd-devel mailing list