pmaports/modem/qcom_rmtfs/udev.rules
Bhushan Shah 5ce37aea08 modem/qcom_rmtfs: Don't limit the rmtfs udev rules to mmcblk0 (#1512)
We already have it limited by the ID_PART_ENTRY_NAME, it is very less
likely that someone will have sdcard with the partition names which are
similar to modem partition.

This fixes rmtfs for @MartijnBraam who for some reason have internal mmc
as mmcblk1 and not 0.
2018-06-01 21:19:50 +02:00

8 lines
381 B
Text

KERNEL!="mmcblk?p[0-9]*", GOTO="qcom_rmtfs_end"
ENV{ID_PART_ENTRY_NAME}=="modemst1", SYMLINK+="disk/qcom_rmtfs/modem_fs1"
ENV{ID_PART_ENTRY_NAME}=="modemst2", SYMLINK+="disk/qcom_rmtfs/modem_fs2"
ENV{ID_PART_ENTRY_NAME}=="fsc", SYMLINK+="disk/qcom_rmtfs/modem_fsc"
ENV{ID_PART_ENTRY_NAME}=="fsg", SYMLINK+="disk/qcom_rmtfs/modem_fsg"
LABEL="qcom_rmtfs_end"