~ubuntu-branches/ubuntu/feisty/kubuntu-docs/feisty

« back to all changes in this revision

Viewing changes to kubuntu/desktopguide/es/sample/hdparm.conf_speedupcddvdrom

  • Committer: Bazaar Package Importer
  • Author(s): Matthew East, Jonathan Riddell, Matthew East
  • Date: 2006-05-21 21:32:00 UTC
  • Revision ID: james.westby@ubuntu.com-20060521213200-1i156mdu9sd9wuxz
Tags: 6.06-10
[ Jonathan Riddell ]
* Add links in each langauge to en/common, makes html files work when 
  viewed without help:/ ioslave

[ Matthew East ]
* Updated translations for everything (last update before the release)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## This is the default configuration for hdparm for Debian.  It is a 
2
 
## rather simple script, so please follow the following guidelines :)
3
 
## Any line that begins with a comment is ignored - add as many as you 
4
 
## like.  Note that an in-line comment is not supported.  If a line 
5
 
## consists of whitespace only (tabs, spaces, carriage return), it will be
6
 
## ignored, so you can space control fields as you like.  ANYTHING ELSE
7
 
## IS PARSED!!  This means that lines with stray characters or lines that 
8
 
## use non # comment characters will be interpreted by the initscript.  
9
 
## This has probably minor, but potentially serious, side effects for your 
10
 
## hard drives, so please follow the guidelines.  Patches to improve 
11
 
## flexibilty welcome.  Please read /usr/share/doc/hdparm/README.Debian for 
12
 
## notes about known issues, especially if you have an MD array.
13
 
##
14
 
## Note that if the init script causes boot problems, you can pass 'nohdparm' 
15
 
## on the kernel command line, and the script will not be run.
16
 
 
17
 
# -q be quiet
18
 
quiet 
19
 
# -a sector count for filesystem read-ahead
20
 
#read_ahead_sect = 12
21
 
# -A disable/enable the IDE drive's read-lookahead feature
22
 
#lookahead = on
23
 
# -b bus state
24
 
#bus = on
25
 
# -B apm setting
26
 
#apm = 255
27
 
# -c enable (E)IDE 32-bit I/O support - can be any of 0,1,3
28
 
#io32_support = 1
29
 
# -d disable/enable the "using_dma" flag for this drive
30
 
#dma = off
31
 
# -D enable/disable the on-drive defect management
32
 
#defect_mana = off
33
 
# -E cdrom speed
34
 
#cd_speed = 16
35
 
# -k disable/enable the "keep_settings_over_reset" flag for this drive
36
 
#keep_settings_over_reset = off
37
 
# -K disable/enable the drive's "keep_features_over_reset" flag
38
 
#keep_features_over_reset = on
39
 
# -m sector count for multiple sector I/O
40
 
#mult_sect_io = 32
41
 
# -P maximum sector count for the drive's internal prefetch mechanism
42
 
#prefetch_sect = 12
43
 
# -r read-only flag for device
44
 
#read_only = off
45
 
# -S standby (spindown) timeout for the drive
46
 
#spindown_time = 24
47
 
# -u interrupt-unmask flag for the drive
48
 
#interrupt_unmask = on
49
 
# -W Disable/enable the IDE drive's write-caching feature
50
 
#write_cache = off
51
 
# -X IDE transfer mode for newer (E)IDE/ATA2 drives
52
 
#transfer_mode = 34
53
 
# -y force to immediately enter the standby mode
54
 
#standby
55
 
# -Y force to immediately enter the sleep mode
56
 
#sleep
57
 
# -Z Disable the power-saving function of certain Seagate drives
58
 
#disable_seagate
59
 
# -M Set the acoustic management properties of a drive
60
 
#acoustic_management
61
 
# -p Set the chipset PIO mode
62
 
# chipset_pio_mode
63
 
 
64
 
## New note - you can use straight hdparm commands in this config file 
65
 
## as well - the set up is ugly, but it keeps backwards compatibility
66
 
## Additionally, it should be noted that any blocks that begin with 
67
 
## the keyword 'command_line' are not run until after the root filesystem
68
 
## is mounted.  This is done to avoid running blocks twice.  If you need 
69
 
## to run hdparm to set parameters for your root disk, please use the 
70
 
## standard format.
71
 
 
72
 
#Samples follow:
73
 
#First three are good for devfs systems, fourth one for systems that do 
74
 
#not use devfs.  The fifth example uses straight hdparm command line
75
 
#syntax.  Any of the blocks that use command line syntax must begin with
76
 
#the keyword 'command_line', and no attempt is made to validate syntax.  
77
 
#It is provided for those more comfortable with hdparm syntax. 
78
 
 
79
 
#/dev/discs/disc0/disc {
80
 
#       mult_sect_io = 16
81
 
#       write_cache = off
82
 
#       spindown_time = 240
83
 
#}
84
 
 
85
 
#/dev/discs/disc1/disc {
86
 
#       mult_sect_io = 32
87
 
#       spindown_time = 36
88
 
#       write_cache = off
89
 
#}
90
 
 
91
 
#/dev/cdroms/cdrom0 {
92
 
#       dma = on                   
93
 
#       interrupt_unmask = on
94
 
#       io32_support = 0
95
 
#}
96
 
 
97
 
#/dev/hda {
98
 
#       mult_sect_io = 16
99
 
#       write_cache = off
100
 
#       dma = on
101
 
#}
102
 
 
103
 
#command_line {
104
 
#       hdparm -q -m16 -q -W0 -q -d1 /dev/hda
105
 
#}
106
 
 
107
 
/dev/cdrom {
108
 
       dma = on
109
 
}