List disks (using lsblk)

This commit is contained in:
Nils Steinger 2017-02-25 01:37:12 +01:00
parent 4e400ea669
commit fb531af819
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ uname -s -r -m
printf '\n'
printf 'Disks:\n'
lsblk --nodeps --noheadings --output NAME,SIZE,ROTA --exclude 1,2,11 | sort | awk '{if ($3 == 0) {$3="SSD"} else {$3="HDD"}; print}' | column -t
printf '\n'
# CPU tests
export TIMEFORMAT='%3R seconds'