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

Matthias Kilian kili at outback.escape.de
Sun Feb 28 05:17:17 EST 2010


On Sat, Feb 27, 2010 at 06:27:19PM -0500, Brandon S. Allbery KF8NH wrote:
> I don't know of any Haskell bindings offhand, but getmntent() and  
> friends are the standard library interface for identifying mountpoints  
> and statfs()/statvfs() are the interface for getting information about  
> them.  Be aware that the latter can be fairly system-dependent.

getmntent() isn't in any standard I know about. IMHO, getting
information about mounted filesystems will always be system dependent.

Ciao,
	Kili


More information about the Haskell-Cafe mailing list