This commit is contained in:
teldra 2022-02-07 15:10:59 +01:00
parent 3bd0817f14
commit 021d123089
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ target_phy_disk() {
target_phy_id() {
local i
local f2
set -x
for i in $(find /dev/disk/by-id|grep -v part); do
if realpath "$i" | grep -q -i "$TARGET_PHY_DISK"; then
if echo "$i" | grep -q -v "wwn" | grep -q -v "eui"; then