Eugene Dzhurinsky <b...@redwerk.com> wrote: > Hello! > > 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. > There's mount, which I think has a portable output format, and my df comes with the -P option to switch to POSIX output.
-- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe