Advertisement
Guest User

Untitled

a guest
Nov 15th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. out = ''
  2. out = IO.popen( "lsblk -nr") do |io|
  3. line = io.read
  4. a = line.split(' ')
  5. puts a[0]
  6. #if a[5] == 'disk' then
  7. #puts line
  8. #end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement