Skip to content

fix(create vdevfile with new format device uuid):#18

Open
peachest wants to merge 1 commit intoProject-HAMi:masterfrom
peachest:fix/uuid
Open

fix(create vdevfile with new format device uuid):#18
peachest wants to merge 1 commit intoProject-HAMi:masterfrom
peachest:fix/uuid

Conversation

@peachest
Copy link
Copy Markdown

In the previous PR #17, the serial numbers of physical devices were used to build the new version of the UUID, but a change to the Plugin's createvdevFiles function was missed.

This PR Fixed the function createvdevFiles still use function getIndexFromUUID to extracts the physical device index from the old version of the UUID, migrated the implementation to extract the serial number from the new version of the UUID and further obtain the device serial number.

@hami-robot
Copy link
Copy Markdown

hami-robot bot commented Aug 18, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: peachest

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

get device index from new format device uuid to create vdev file

Signed-off-by: houyuxi <yuxi.hou@transwarp.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant