just "hdiutil detach /Volumes/#{project.name}" and eat stderr and ignore errors...

https://github.com/opscode/opscode-omnitruck/blob/lcg/chefdk-support/views/install.sh.erb#L385