Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change udev properties for Linux disk serial #353

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

avishayt
Copy link
Contributor

The properties that are currently used are not always accurate, for example we have seen that they sometimes contain the WWN and not the serial. This change uses SCSI_IDENT_SERIAL and ID_SCSI_SERIAL first. This behavior aligns with what lsblk does:
https://github.com/util-linux/util-linux/blob/36c52fd14b83e6f7eff9a565c426a1e21812403b/misc-utils/lsblk-properties.c#L122-L128

@jaypipes
Copy link
Owner

Hi @avishayt! Thanks very much for this contribution! Would you mind signing the commit in order for the DCO check to succeed? I'll be reviewing the PR shortly.

Copy link
Owner

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look great to me. Just sign the commit and the DCO check will be happy :)

The properties that are currently used are not always accurate, for
example we have seen that they sometimes contain the WWN and not the
serial. This change uses SCSI_IDENT_SERIAL and ID_SCSI_SERIAL first.
This behavior aligns with what lsblk does:
https://github.com/util-linux/util-linux/blob/36c52fd14b83e6f7eff9a565c426a1e21812403b/misc-utils/lsblk-properties.c#L122-L128

Signed-off-by: Avishay Traeger <avishay@gmail.com>
@avishayt
Copy link
Contributor Author

Thanks! Done.

@avishayt
Copy link
Contributor Author

/retest

@jaypipes
Copy link
Owner

looks like there's some transient GH actions runner issues. Gonna wait a little while and retrigger. should be fine after.

@jaypipes jaypipes merged commit 835f6a2 into jaypipes:main Aug 29, 2023
4 of 10 checks passed
@jaypipes
Copy link
Owner

@avishayt the CI failures are due to StepSecurity GH Actions checkers not allowing egress to proxy.golang.org. Nothing to do with your PR. Thanks much for your contribution! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants