wiki:SaliUsage/Functions/find_all_disks

Version 4 (modified by bas, 14 years ago) (diff)

--

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. The return format is the diskname:

  • hda sda sdb
ALLDISK=$(find_all_disks)