hdparm for FreeBSD?

Kirk Strauser kirk at strauser.com
Mon Jan 10 17:33:43 PST 2005


On Monday 10 January 2005 05:04 pm, Lowell Gilbert wrote:

> You mean like atacontrol(8)?
> Or maybe you mean something more like tunefs(8)?

Nope.  atacontrol returns information about a drive's capabilities, but offers 
no way to change the settings that affect them.  Example:

    # atacontrol cap 2 0
    [...]
    write cache                    yes      yes
    read ahead                     yes      yes
    dma queued                     no       no      0/0x00
    SMART                          yes      yes
    microcode download             yes      yes
    security                       yes      no
    power management               yes      yes
    advanced power management      no       no      0/0x00
    automatic acoustic management  yes      no      254/0xFE        128/0x80

shows that read ahead is available and enabled, but I don't have a way to turn 
it off.  tunefs only affects a filesystem's attributes but not the underlying 
hardware.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050110/48a4b397/attachment.bin


More information about the freebsd-questions mailing list