Skip to content

Instantly share code, notes, and snippets.

@rowland007
Last active December 29, 2017 15:10
Show Gist options
  • Save rowland007/71a4cc7b41bf36148c684bd81a3933cb to your computer and use it in GitHub Desktop.
Save rowland007/71a4cc7b41bf36148c684bd81a3933cb to your computer and use it in GitHub Desktop.
Linux udev rules for ironkey usb devices
# place in /etc/udev/rules.d/
# udev rules for setting up symbolic links for ironkeys
# These create links like:
# /dev/ikgeneric-0
# /dev/ikgeneric-1
# for generic devices associated with plugged in IronKeys.
# A console rules file can use these to give console users
# permission to access the IronKeys.
#
# generic devices: name these ikgeneric
KERNEL=="sg*",ATTRS{manufacturer}=="IronKey", SYMLINK="ikgeneric-%n", GROUP="cdrom"
# hard disk devices: name these ironkey
KERNEL=="sd*",ATTRS{manufacturer}=="IronKey", SYMLINK="ironkey-%n", GROUP="cdrom"
# CD devices
KERNEL=="sr*",ATTRS{manufacturer}=="IronKey", SYMLINK="ikcd-%n", GROUP="cdrom"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment