mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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"
|
||||
ENV{installer}=="1", GOTO="exit"
|
||||
|
||||
# check for blockdevices, /dev/sd* and /dev/sr*
|
||||
SUBSYSTEM!="block", KERNEL!="sd*|sr*", GOTO="exit"
|
||||
# check for blockdevices, /dev/sd*, /dev/sr* and /dev/mmc*
|
||||
SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*", GOTO="exit"
|
||||
|
||||
# check for special partitions we dont want mount
|
||||
IMPORT{builtin}="blkid"
|
||||
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery", GOTO="exit"
|
||||
|
||||
# /dev/sd* with partitions/disk and filesystems only and /dev/sr* disks only
|
||||
KERNEL=="sd*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
||||
# /dev/sd* and /dev/mmc* ith partitions/disk and filesystems only and /dev/sr* disks only
|
||||
KERNEL=="sd*|mmc*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
|
||||
KERNEL=="sr*", ENV{DEVTYPE}=="disk", GOTO="optical"
|
||||
GOTO="exit"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user