Forked from https://bitbucket.org/byronclark/udiskie