This commit is contained in:
teldra 2021-05-09 19:16:15 +02:00
parent e0a3ca2f08
commit 5debb33ef5

View File

@ -7,6 +7,7 @@ declare -A disk=()
index=0
for i in $(find /dev/disk/by-id/ -type l -printf "%P\n"|grep -v "part" |tac); do
name="$(readlink -f /dev/disk/by-id/"${i}")"
echo $i
if [[ ! "${i}" =~ "ata-"* ]]; then
continue
fi