Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- out = ''
- out = IO.popen( "lsblk -nr") do |io|
- line = io.read
- a = line.split(' ')
- puts a[0]
- #if a[5] == 'disk' then
- #puts line
- #end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement