diff options
author | Azat Bahawi <azat@bahawi.net> | 1970-01-01 03:00:00 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-09-20 11:52:07 +0300 |
commit | 962c35425636e3f942fd8a624369a7c53748f47e (patch) | |
tree | c69e76f6c4cdd7f9f66d02a02ee683fe4d5426e7 /etc/udev |
Diffstat (limited to 'etc/udev')
-rw-r--r-- | etc/udev/rules.d/60-bfq.rules | 3 | ||||
-rw-r--r-- | etc/udev/rules.d/80-net-name-slot.rules | 0 | ||||
-rw-r--r-- | etc/udev/udev.conf | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/etc/udev/rules.d/60-bfq.rules b/etc/udev/rules.d/60-bfq.rules new file mode 100644 index 0000000..5565b93 --- /dev/null +++ b/etc/udev/rules.d/60-bfq.rules @@ -0,0 +1,3 @@ +ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none" +ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" +ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq" diff --git a/etc/udev/rules.d/80-net-name-slot.rules b/etc/udev/rules.d/80-net-name-slot.rules new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/etc/udev/rules.d/80-net-name-slot.rules diff --git a/etc/udev/udev.conf b/etc/udev/udev.conf new file mode 100644 index 0000000..47d1433 --- /dev/null +++ b/etc/udev/udev.conf @@ -0,0 +1,3 @@ +# see udev.conf(5) for details + +#udev_log="info" |