summaryrefslogtreecommitdiff
path: root/src/completion/list_disks.sh
blob: f32e558fdc818940275c9693d5aa168e6f94bc02 (plain)
1
2
3
4
5
#!/bin/bash

# Completion script used by show disks to collect physical disk

awk 'NR > 2 && $4 !~ /[0-9]$/ { print $4 }' </proc/partitions