Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
powerpc-utils
powerpc-utils.ofpathname.show_of_path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File powerpc-utils.ofpathname.show_of_path.patch of Package powerpc-utils
show_of_path handles more block device types (#142637) scripts/ofpathname | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/scripts/ofpathname +++ b/scripts/ofpathname @@ -283,7 +283,7 @@ logical_to_ofpathname() if [[ $is_pata = "yes" ]]; then l2of_ide else - l2of_scsi + l2of_scsi_show_of_path fi ;; hd*) l2of_ide ;; fd*) echo "no fd support yet" ;; @@ -381,6 +381,14 @@ int_to_scsilun() echo "$lunstr" } +l2of_scsi_show_of_path() +{ + if test -b /dev/$DEVICE + then + OF_PATH="`/bin/show_of_path.sh /dev/$DEVICE`" + fi +} + # # l2of_scsi # Converion routine for logical => OF path of scsi devices
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