News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Listing availiable storage devices
Author Message

Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #1
RE: Listing availiable storage devices

For linux, I'd try to parse the output of the 'mount' command.
Like this more or less:

output = fh:read('*a')
for dev,point in output:gmatch("(/dev/[%w_/]+) on (/[%w_/]*).-\n") do

12-27-2010 10:52 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Listing availiable storage devices - dvw86 - 12-27-2010, 05:59 AM
RE: Listing availiable storage devices - jpjacobs - 12-27-2010 10:52 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: