get disk and device path
A quick one-liner for getting disk and device path.
echo | format | awk ‘/c4t1d2/ {print;getline;print}’
example output:
# echo | format | awk ‘/c2t0d0/ {print;getline;print}’
1. c2t0d0
/iommu@0,10000000/sbus@0,10001000/QLGC,isp@3,10000/sd@0,0
#






Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment