[PATCH v3 67/70] bootstd: Record the bootdevs used during scanning