Last active
December 29, 2017 15:10
-
-
Save rowland007/71a4cc7b41bf36148c684bd81a3933cb to your computer and use it in GitHub Desktop.
Linux udev rules for ironkey usb devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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