Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
multipath-tools
multipath-tools-kpartx-run-on-readonly-devices
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File multipath-tools-kpartx-run-on-readonly-devices of Package multipath-tools
commit 451510a56a7d7e18cec3020fac0baf36769aacb9 Author: Hannes Reinecke <hare@suse.de> Date: Tue Feb 3 11:16:35 2009 +0100 Check for !SUSPENDED in kpartx rules Read-only devices appear as DM_STATE=READONLY, so we should invert the check in kpartx rules to have kpartx run on readonly devices, too. References: 440959 Signed-off-by: Hannes Reinecke <hare@suse.de> diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules index 3e09dcf..ddb65e2 100644 --- a/kpartx/kpartx.rules +++ b/kpartx/kpartx.rules @@ -30,7 +30,7 @@ ENV{DM_PART}=="?*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}-part$env{DM_PART}" # Create dm tables for partitions -ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \ +ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*", \ RUN+="/sbin/kpartx -a -p _part /dev/$kernel" ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="DMRAID-*", \ RUN+="/sbin/kpartx -a -p _part /dev/$kernel"
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