Copyright | 2012 Joey Hess <[email protected]> |
---|---|
License | LGPL 2.1 or higher |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
System.MountPoints
Description
Derived from hsshellscript, originally written by Volker Wysk [email protected]
Documentation
This is a stripped down mntent, containing only fields available everywhere.
Constructors
Mntent | |
getMounts :: IO [Mntent] Source #
Get currently mounted filesystems.
This uses eiher getmntent or getmntinfo, depending on the OS.
getProcMounts :: IO [Mntent] Source #
Read /proc/mounts to get currently mounted filesystems.
This works on Linux and related systems, including Android.