Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
multipath-tools
kpartx-rules-create-dmraid-nodes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kpartx-rules-create-dmraid-nodes.patch of Package multipath-tools
Index: multipath-tools-0.4.9/kpartx/kpartx.rules =================================================================== --- multipath-tools-0.4.9.orig/kpartx/kpartx.rules +++ multipath-tools-0.4.9/kpartx/kpartx.rules @@ -17,6 +17,10 @@ OPTIONS="link_priority=50" ENV{DM_UUID}=="mpath-*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}" +# Create persistent links for dmraid tables +ENV{DM_UUID}=="DMRAID-*|dmraid-*", \ + SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}" + # Create persistent links for partitions ENV{DM_PART}=="?*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}-part$env{DM_PART}" @@ -25,6 +29,9 @@ ENV{DM_PART}=="?*", \ ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \ RUN+="/sbin/kpartx -u -p -part /dev/$name" +ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="DMRAID-*|dmraid-*", \ + RUN+="/sbin/kpartx -u -p _part /dev/$kernel" + LABEL="kpartx_end"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor