[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hdparm script



On Wed, Sep 25, 2002 at 08:40:58PM +0100, Boris Duerner wrote:
# Configuration file for /etc/init.d/hdparm.
# Tunes hard drives on boot up.
#
# Syntax:
#[DRIVE]="<hdparm's parameters>"#
#
# Example:
# HDA="-c1 -d1 -m16"
# this turns 32Bit-I/O and DMA for /dev/hda on and sets
# multi sector count to 16.
#
# Currently only hda, hdb, hdc, hdd are supported
# To add support for additional devices change /etc/init.d/hdparm

HDA=""
HDB=""
HDC=""
HDD=""

That's pretty hideous, and also doesn't mesh well with device specific
names (e.g., devfs). Rather than these bandaids, the proper approach
(IMHO) is to just fix the default kernels so they turn on dma if it's
safe.

Mike Stone



Reply to: