zpool status -LP | sed $((cd /dev/disk/by-id; ls -l ata*) | sed 's/\.\.\/\.\./\\\/dev\\/' | awk '{print "-e s/" $11 "/" $9 "/"}')
0 Boosts
0 Likes
No replies yet
Be the first to share your thoughts.
Discussion
zpool status -LP | sed $((cd /dev/disk/by-id; ls -l ata*) | sed 's/\.\.\/\.\./\\\/dev\\/' | awk '{print "-e s/" $11 "/" $9 "/"}')
No replies yet
Be the first to share your thoughts.