Last active
August 26, 2020 15:10
-
-
Save twwlogin/7b16f86d4e19e366879213323ad71705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sg_vpd /dev/sdc | |
Supported VPD pages VPD page: | |
Supported VPD pages [sv] | |
Unit serial number [sn] | |
Device identification [di] | |
Extended inquiry data [ei] | |
Block limits (SBC) [bl] | |
Logical block provisioning (SBC) [lbpv] | |
# sg_vpd --page=sn /dev/sdc | |
Unit serial number VPD page: | |
Unit serial number: | |
# udevadm info -q all --path=/sys/block/sdc | grep ID_SERIAL | |
E: ID_SERIAL=3600144f0f4e106e711ff54b6b7820049 | |
E: ID_SERIAL_SHORT=600144f0f4e106e711ff54b6b7820049 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment