mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Added files
This commit is contained in:
parent
07d0b22c4d
commit
c6fe1512d6
5 changed files with 94 additions and 0 deletions
2
etc/udev/rules.d/60-ioschedulers.rules
Normal file
2
etc/udev/rules.d/60-ioschedulers.rules
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# set scheduler for rotating disks
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"
|
||||
1
etc/udev/rules.d/69-hdparm.rules
Normal file
1
etc/udev/rules.d/69-hdparm.rules
Normal file
|
|
@ -0,0 +1 @@
|
|||
ACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 254 -S 0 /dev/sda"
|
||||
10
etc/udev/udev.conf
Normal file
10
etc/udev/udev.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# see udev.conf(5) for details
|
||||
#
|
||||
# udevd is also started in the initrd. When this file is modified you might
|
||||
# also want to rebuild the initrd, so that it will include the modified configuration.
|
||||
|
||||
#udev_log=info
|
||||
#children_max=
|
||||
#exec_delay=
|
||||
#event_timeout=180
|
||||
#resolve_names=early
|
||||
Loading…
Add table
Add a link
Reference in a new issue