diff options
Diffstat (limited to 'recipes-append/udev/files/local.rules')
-rw-r--r-- | recipes-append/udev/files/local.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-append/udev/files/local.rules b/recipes-append/udev/files/local.rules index 9c134ef..43034b8 100644 --- a/recipes-append/udev/files/local.rules +++ b/recipes-append/udev/files/local.rules @@ -15,6 +15,8 @@ KERNEL=="nbd*", GOTO="persistent_storage_end" +SUBSYSTEM=="block", ENV{DEVTYPE}=="partition", GOTO="nomountblock" + # Media automounting SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh" SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh" @@ -37,3 +39,4 @@ SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1 LABEL="persistent_storage_end" +LABEL="nomountblock" |