wiki:SaliUsage/Functions/find_all_disks

find_all_disks

This function returns all the disks that could be found. Finding the disks is done by examining the links in /dev/disk/by-id|by-path|label

#!/bin/sh

ALLDISK=$(find_all_disks)
for disk in $ALLDISK
do
   echo $disk
done

Last modified 14 years ago Last modified on 06/09/10 22:29:14