def umount_partitions(device)
      partitions = mountable_partitions(device)

      @log.trace "Unmounting partitions..."
      partitions.reverse.each { |part| umount_partition(part) }
      @log.trace "All partitions unmounted."
    end
def umount_partitions(device)
      partitions = mountable_partitions(device)

      @log.trace "Unmounting partitions..."
      partitions.reverse.each { |part| umount_partition(part) }
      @log.trace "All partitions unmounted."
    end
Unmounts partitions in reverse order.