Update packages/sysutils/udevil/udev.d/95-udevil-mount.rules

Co-Authored-By: MilhouseVH <MilhouseVH@users.noreply.github.com>
This commit is contained in:
adufray 2019-07-04 11:48:08 -05:00 committed by GitHub
parent f15c06cd5c
commit 9a7a7f5467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*|nvme*", GOTO="exit"
IMPORT{builtin}="blkid"
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY|SETTINGS|boot|root0|share0", GOTO="exit"
# /dev/sd*, /dev/mmc*, and /dev/nvme* ith partitions/disk and filesystems only and /dev/sr* disks only
# /dev/sd*, /dev/mmc*, and /dev/nvme* with partitions/disk and filesystems only, and /dev/sr* disks only
KERNEL=="sd*|mmc*|nvme*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
KERNEL=="sr*", ENV{DEVTYPE}=="disk", GOTO="optical"
GOTO="exit"