mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
udevil: mount mmc block devices
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
89bff06d6b
commit
37290d1ad4
@ -2,15 +2,15 @@
|
|||||||
IMPORT{cmdline}="installer"
|
IMPORT{cmdline}="installer"
|
||||||
ENV{installer}=="1", GOTO="exit"
|
ENV{installer}=="1", GOTO="exit"
|
||||||
|
|
||||||
# check for blockdevices, /dev/sd* and /dev/sr*
|
# check for blockdevices, /dev/sd*, /dev/sr* and /dev/mmc*
|
||||||
SUBSYSTEM!="block", KERNEL!="sd*|sr*", GOTO="exit"
|
SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*", GOTO="exit"
|
||||||
|
|
||||||
# check for special partitions we dont want mount
|
# check for special partitions we dont want mount
|
||||||
IMPORT{builtin}="blkid"
|
IMPORT{builtin}="blkid"
|
||||||
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery", GOTO="exit"
|
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery", GOTO="exit"
|
||||||
|
|
||||||
# /dev/sd* with partitions/disk and filesystems only and /dev/sr* disks only
|
# /dev/sd* and /dev/mmc* ith partitions/disk and filesystems only and /dev/sr* disks only
|
||||||
KERNEL=="sd*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
KERNEL=="sd*|mmc*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
||||||
KERNEL=="sr*", ENV{DEVTYPE}=="disk", GOTO="optical"
|
KERNEL=="sr*", ENV{DEVTYPE}=="disk", GOTO="optical"
|
||||||
GOTO="exit"
|
GOTO="exit"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user