Changes between Version 5 and Version 6 of SaliUsage/Functions/find_all_disks


Ignore:
Timestamp:
06/09/10 22:29:14 (14 years ago)
Author:
bas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SaliUsage/Functions/find_all_disks

    v5 v6  
    44= find_all_disks =
    55
    6 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:
    7  * hda sda sdb
    8 
     6This 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
    97{{{
    108#!/bin/sh
    119
    1210ALLDISK=$(find_all_disks)
     11for disk in $ALLDISK
     12do
     13   echo $disk
     14done
     15
    1316}}}