View Single Post

  #4 (permalink)  
Old 06-14-2008, 02:46 AM
unSpawn unSpawn is offline
Junior Member
User
 
Join Date: Feb 2008
My distro: .
Posts: 10
Rep Power: 0
unSpawn is on a distinguished road
Default

Nice examples. BTW, in getDiskDrives() it's missing the GNU/Linux part:
t=($(awk '/[hs]d[a-z]$/ {print $4}' /proc/partition)
c="${#t[@]}"
t="${t[*]}"
Reply With Quote