fixes
This commit is contained in:
parent
e0a3ca2f08
commit
5debb33ef5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user