mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-25 08:29:59 +07:00
path_id: fix fibre channel handling
This commit is contained in:
parent
4435308844
commit
c3f0b654fc
@ -254,7 +254,7 @@ handle_fc () {
|
||||
fc_tgt_lun="${fc_tgt_hcil##*:}"
|
||||
fc_tgt_path="${DEV%/*}"
|
||||
fc_tgt_num="${fc_tgt_path##*/}"
|
||||
fc_tgt_dev="${fc_tgt_path}/fc_transport:${fc_tgt_num}"
|
||||
fc_tgt_dev="${fc_tgt_path}/fc_transport/${fc_tgt_num}"
|
||||
if [ -e "$fc_tgt_dev/port_name" ]; then
|
||||
read wwpn < $fc_tgt_dev/port_name
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user