1
vote
1answer
175 views

Unmount iscsi volume from bash script

Plan: I want to unmount an iscsi volume on my OS X Desktop in a script only if it's mounted. So far, I've identified the disk as disk4s2 with: diskutil list | grep 'V-Movies' | rev | cut -c1-7 | ...