Skip to content

Instantly share code, notes, and snippets.

@lboulard
Created June 21, 2019 14:30
Show Gist options
  • Save lboulard/081b934d49c5ccbbb4c3137bffec81ed to your computer and use it in GitHub Desktop.
Save lboulard/081b934d49c5ccbbb4c3137bffec81ed to your computer and use it in GitHub Desktop.
udev rules for changing external SSD to noop io scheduler
# vim /etc/udev/rules.d/99-lboulard.rules
ACTION!="add|change", GOTO="lboulard_end"
SUBSYSTEM!="block", GOTO="lboulard_end"
ENV{ID_VENDOR}!="JMicron", GOTO="lboulard_end"
ENV{ID_MODEL_ID}!="0562", GOTO="lboulard_end"
ATTR{queue/scheduler}="none"
LABEL="lboulard_end"
# udevadm control --reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment