You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
The script checks if the variable has a value, and if this is a block device.
However, names like /dev/xvdb might also be a symbolic link to the actual block device. e.g.
ls -la /dev/xvd*
lrwxrwxrwx 1 root root 7 Dec 8 12:06 /dev/xvda -> nvme0n1
lrwxrwxrwx 1 root root 9 Dec 8 12:06 /dev/xvda1 -> nvme0n1p1
lrwxrwxrwx 1 root root 11 Dec 8 12:06 /dev/xvda128 -> nvme0n1p128
lrwxrwxrwx 1 root root 7 Dec 8 12:22 /dev/xvdba -> nvme2n1
lrwxrwxrwx 1 root root 7 Dec 8 12:25 /dev/xvdbb -> nvme3n1
Not sure if a [[ -h FILE ]] is enough or do we need to check on the target as well.
The script checks if the variable has a value, and if this is a block device.
However, names like /dev/xvdb might also be a symbolic link to the actual block device. e.g.
Not sure if a
[[ -h FILE ]]
is enough or do we need to check on the target as well.amazon-ebs-autoscale/install.sh
Line 240 in 521f071
The text was updated successfully, but these errors were encountered: