All pastes #548724 Raw Edit

drbombay[lap]

public text v1 · immutable
·published 2007-06-07 20:47 UTC
rendered paste body
# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args="-d1 -X66"
# disc1_args="-d1"
# cdrom0_args="-d1"

# or you can set options for all PATA drives
#pata_all_args="-d1"

# or you can set options for all SATA drives
#sata_all_args=""
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1       /boot                   ext2            noauto,noatime          1 2
/dev/hdb2       none                    swap            sw                      0 0
/dev/hdb3       /home                   ext4dev         noatime,extents         0 1
/dev/hdb5       /var/paludis/distfiles  reiser4         noatime,nodiratime      0 1
/dev/hdb6       /                       reiserfs        noatime                 0 1
/dev/hdc        /mnt/cdrom              auto            noauto,ro               0 0


# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm             /dev/shm                tmpfs           nodev,nosuid,noexec     0 0
# or, you can set hdparm options for all drives
#all_args=""
hda_args="-A1a2048B1c1d1m16u1X69"
hdb_args="-A1a2048B1c1d1m16u1X69"
hdc_args="-a2048c1d1u1X66"