|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
From 09dc7999c275723f7e364386cd85e8f698e744c9 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
From: Kieran Colford <kieran@kcolford.com>
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
Date: Tue, 6 Dec 2016 04:46:13 -0500
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
Subject: [PATCH] rules: consider MMC device partitions with partition number >
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
9 (#4831)
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
Add entries for extra partitions found on MMC devices (common in Chromebooks).
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
(cherry picked from commit 471b9850ee10dea07233af485e125897d2d35a00)
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
---
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
rules/60-persistent-storage.rules | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
index c13d05cdb1..bbd52e825e 100644
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
--- a/rules/60-persistent-storage.rules
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
+++ b/rules/60-persistent-storage.rules
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
@@ -54,7 +54,7 @@ KERNEL=="sd*[0-9]", ATTRS{ieee1394_id}=="?*", SYMLINK+="disk/by-id/ieee1394-$att
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# MMC
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
KERNEL=="mmcblk[0-9]", SUBSYSTEMS=="mmc", ATTRS{name}=="?*", ATTRS{serial}=="?*", \
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}"
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
-KERNEL=="mmcblk[0-9]p[0-9]", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n"
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
+KERNEL=="mmcblk[0-9]p[0-9]*", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n"
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
# Memstick
|
|
Zbigniew Jędrzejewski-Szmek |
03e93e |
KERNEL=="msblk[0-9]|mspblk[0-9]", SUBSYSTEMS=="memstick", ATTRS{name}=="?*", ATTRS{serial}=="?*", \
|