I hereby claim:
- I am brahman81 on github.
- I am kranon (https://keybase.io/kranon) on keybase.
- I have a public key ASDHZl7T6Xa0pNLlSB1kWTzBcF4uZqbNy86nhQZO5lhgHgo
To claim this, I am signing this object:
| #!/bin/bash | |
| # Inspired by https://github.com/oogali/ebs-automatic-nvme-mapping | |
| # Thanks Oogali! | |
| # Tested on Ubuntu 16.04 | |
| # To be used with the below udev rule (/etc/udev/rules.d/99-ebs-nvme.rules) | |
| # SUBSYSTEM=="block", KERNEL=="nvme[0-9]*n[0-9]*", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM+="/usr/local/sbin/nvme-mapping.sh /dev/%k" SYMLINK+="%c" | |
| if [[ -x /usr/sbin/nvme ]] && [[ -b ${1} ]]; then | |
| # capture 32 bytes at an offset of 3072 bytes from the raw-binary data | |
| # not all block devices are extracted with /dev/ prefix |
I hereby claim:
To claim this, I am signing this object:
The latest documentation can be found: here