Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dracut.4966
0317-persistent_device_policy_param_enhance.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0317-persistent_device_policy_param_enhance.patch of Package dracut.4966
@@ -, +, @@ names --- a/dracut-functions.sh +++ a/dracut-functions.sh @@ -223,14 +223,20 @@ get_devpath_block() { # get a persistent path from a device get_persistent_dev() { - local i _tmp _dev + local i _tmp _dev _pol _dev=$(get_maj_min "$1") [ -z "$_dev" ] && return + if [[ -n "$persistent_policy" ]]; then + _pol="/dev/disk/${persistent_policy}/*" + else + _pol= + fi + for i in \ + $_pol \ /dev/mapper/* \ - /dev/disk/${persistent_policy:-by-uuid}/* \ /dev/disk/by-uuid/* \ /dev/disk/by-label/* \ /dev/disk/by-partuuid/* \ --
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