mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Filesystems] fix GOTO in udev rules, fix typo
This commit is contained in:
parent
f80aa5fa96
commit
d34fa72e85
1 changed files with 3 additions and 3 deletions
|
|
@ -75,8 +75,8 @@ in
|
|||
(optional (!(builtins.isNull cfg.slowFlashScheduler))
|
||||
''
|
||||
SUBSYSTEM!="block", GOTO="aviallon_slowflash_end"
|
||||
KERNEL!="sd[a-z]|nvme[0-9]*n[0-9]*|mmcblk[0-9]", GOTO="end"
|
||||
ATTR{queue/rotational}!="0", GOTO="end"
|
||||
KERNEL!="sd[a-z]|nvme[0-9]*n[0-9]*|mmcblk[0-9]", GOTO="aviallon_slowflash_end"
|
||||
ATTR{queue/rotational}!="0", GOTO="aviallon_slowflash_end"
|
||||
|
||||
ACTION!="remove", ATTR{queue/scheduler}="${cfg.slowFlashScheduler}"
|
||||
|
||||
|
|
@ -93,7 +93,7 @@ in
|
|||
ACTION!="remove", TEST=="queue/iosched/low_latency", ATTR{queue/iosched/low_latency}="0"
|
||||
|
||||
LABEL="aviallon_no_ncq_end"
|
||||
# END: NCQ disabledf
|
||||
# END: NCQ disabled
|
||||
|
||||
LABEL="aviallon_slowflash_end"
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue