#! /bin/sh

## Path:        System/Powermanagement/Powersave/Disk
## Description: These settings determine, how the powersave daemon \
## will adjust your harddisk settings in the different profiles. \
## If you alter something here, you are doing this on your own risk. \
## You should be at least familiar with hdparm (8) and the settings \
## in /proc/sys/vm. Some of these variables contain raw hdparm arguments,\
## any errors in these may cause the proxy scripts to fail.\n \
## DANGER! YOU MAY LOSE DATA IF YOU ENTER WRONG VALUES HERE! \
## You have been warned.

## Path:        System/Powermanagement/Powersave/Disk
## Type:        yesno
## Default:     "yes"
#
# shall we remount journaled filesystems with appropriate commit interval?
# this is needed to get the disk to shutdown on ext3 and reiserfs.
HD_DO_REMOUNTS="yes"


## Path:        System/Powermanagement/Powersave/Disk
## Type:        yesno
## Default:     "no"
#
# remount reiserfs with option noatime? Was necessary with earlier kernels,
# should not be needed any longer.
HD_NOATIME="no"

## Path:        System/Powermanagement/Powersave/Disk
## Type:        integer(0:10000)
## Default:     "600"
#
# age time, in seconds. Journalled filesystems will be remounted with the
# commit interval set to this value. The VM writeback and expire values
# will be set to this value in seconds.
# WARNING: You will lose data if your machine crashes or your battery runs
# flat, sice data will eventually only be committed to disk after this time!
HD_MAX_AGE="600"

## Path:        System/Powermanagement/Powersave/Disk
## Type:        integer(0:100)
## Default:     "75"
#
# Allowed dirty ratio, in percent. This value will be put into
# /proc/sys/vm/dirty_ratio and /proc/sys/vm/dirty_background_ratio.
HD_DIRTY_RATIO="75"

## Path:        System/Powermanagement/Powersave/Disk
## Type:        integer(0:254)
#
# "hdparm -M" arguments for POWERSAVE_DISK_ACOUSTIC settings
# "performance", "low" and "quiet". There will be a check on
# the capabilities of the disk before those settings are issued,
# so changes here will be doing nothing if the drive does not
# support automatic acoustic management (AAM). Change only if you
# know what you are doing!
# Valid values are 128 (quiet) to 254 (fast), 0 disables this setting.
HDPARM_ACOUSTIC_PERF="254"
HDPARM_ACOUSTIC_LOW="128"
HDPARM_ACOUSTIC_QUIET="128"

## Path:        System/Powermanagement/Powersave/Disk
## Type:        integer(0:255)
#
# "hdparm -B" arguments for POWERSAVE_STANDBY_MODE settings
# "performance", "powersave" and "aggressive_powersave".
# Change only if you know what you are doing! Also see the
# "hdparm" manpage to learn more about those settings.
# The support of the drive for APM is checked before issuing those
# command, so these settings may have no effect on your hardware.
# For many laptop harddisks, the APM settings are defined as follows:
# 255: APM off
# 192-254: "active idle" - not too much savings
# 128-191: "low power idle" - heads may be parked
# <127: "standby" - disk may spin down even without a spindown setting
# 0: special value, disables the "hdparm -B" setting.
# These values are dependent on your harddrive model!
# Note that spinning down the disk leads to spurious lockups on some
# machines (e.g. Dell D600), so be careful.
#
# Performance default is 254 instead of 255 (off) since this will let
# a lot of drives run cooler without significant impact on performance.
HDPARM_STBY_PERF="254"
HDPARM_STBY_SAVE="128"
HDPARM_STBY_AGGR="1"

## Path:        System/Powermanagement/Powersave/Disk
## Type:        string
#
# These are raw hdparm arguments for POWERSAVE_STANDBY_MODE settings
# "performance", "powersave" and "aggressive_powersave".
# Change only if you know what you are doing! These settings are passed
# to hdparm without further checks! Use only if you know what you are
# doing! These are the last parameters on the hdparm command line, so
# they may override HD_STBY_* and HD_ACOUSTIC_* settings.
HDPARM_RAW_PERF=""
HDPARM_RAW_SAVE=""
HDPARM_RAW_AGGR=""
