mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Include /dev/nvme* for automounting m.2 devices
This commit is contained in:
parent
8a6f8a3923
commit
f15c06cd5c
@ -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*, /dev/sr* and /dev/mmc*
|
# check for blockdevices, /dev/sd*, /dev/sr*, /dev/mmc*, and /dev/nvme*
|
||||||
SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*", GOTO="exit"
|
SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*|nvme*", 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|RECOVERY|SETTINGS|boot|root0|share0", GOTO="exit"
|
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY|SETTINGS|boot|root0|share0", GOTO="exit"
|
||||||
|
|
||||||
# /dev/sd* and /dev/mmc* ith partitions/disk and filesystems only and /dev/sr* disks only
|
# /dev/sd*, /dev/mmc*, and /dev/nvme* 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=="sd*|mmc*|nvme*", 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