mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
udevil: support mounting disks without partition tables
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
bb57defc88
commit
dbe33687bb
@ -5,8 +5,8 @@ ENV{installer}=="1", GOTO="exit"
|
||||
# check for blockdevices, /dev/sd* and /dev/sr*
|
||||
SUBSYSTEM!="block", KERNEL!="sd*|sr*",GOTO="exit"
|
||||
|
||||
# /dev/sd* with partitions only and /dev/sr* disks only
|
||||
KERNEL=="sd*", ENV{DEVTYPE}=="partition", GOTO="harddisk"
|
||||
# /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"
|
||||
KERNEL=="sr*", ENV{DEVTYPE}=="disk", GOTO="optical"
|
||||
GOTO="exit"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user