no backticks

This commit is contained in:
kneutron 2021-04-08 13:12:24 -05:00 committed by GitHub
parent 685cc01282
commit 547be34958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,9 @@
# REF: https://openzfsonosx.org/forum/viewtopic.php?f=26&t=3115 # REF: https://openzfsonosx.org/forum/viewtopic.php?f=26&t=3115
# NOTE Pass media- arg from 'zpool list -v' # NOTE Pass media- arg from 'zpool list -v'
diskutil info `ls -l /var/run/disk/by-id | grep "$1" | awk -F" " '{print $11}' \ diskutil info $(ls -l /var/run/disk/by-id | grep "$1" | awk -F" " '{print $11}' \
| sed 's/s1//' \ | sed 's/s1//' \
| sed 's|\/dev\/||'` \ | sed 's|\/dev\/||') \
| egrep '(Device Identifier:)|(Whole:)|(Device / Media Name)|(Disk Size:)|(Device Block Size:)' | egrep '(Device Identifier:)|(Whole:)|(Device / Media Name)|(Disk Size:)|(Device Block Size:)'
exit; exit;