[Haskell-cafe] listing mountpoints and getting their properties in Haskell

Eugene Dzhurinsky bofh at redwerk.com
Sat Feb 27 11:47:02 EST 2010


I need to list all currently mounted filesystems and get some stats like
total space, free space, mount point and physical device.

Is there any library capable of obtaining such information from OS itself?
Parsing output of 'df' is locale-dependent and error-prone (because of locale
settings, output settings etc).

Thank you in advance.

Eugene N Dzhurinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100227/74c1b666/attachment.bin

More information about the Haskell-Cafe mailing list