fix unmounting unpartitioned devices