Circlean/circlean_fs/root_partition/etc/udev/rules.d/10-usb.rules

4 lines
328 B
Plaintext
Raw Normal View History

# The purpose of this rules file is to ensure that the top left usb port and its partitions have a symlink to /dev/source_key[num], and the other ports to /dev/dest_key[num]
2017-01-24 04:32:20 +01:00
KERNEL=="sd*", KERNELS=="1-1.2", SUBSYSTEMS=="usb", SYMLINK+="source_key%n"
KERNEL=="sd*", KERNELS=="1-1.[3-5]", SUBSYSTEMS=="usb", SYMLINK+="dest_key%n"