|
| System.Unix.SpecialDevice |
|
|
| Description |
| Construct an ADT representing block and character devices
(but mostly block devices) by interpreting the contents of
the Linux sysfs filesystem.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
Instances | |
|
|
| sysMountPoint :: FilePath | Source |
|
| FIXME: We should really get this value from the mount table.
|
|
|
| Return the device represented by a device node, such as /dev/sda2.
Returns Nothing if there is an exception trying to stat the node, or
if the node turns out not to be a special device.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| splitPart :: String -> (String, Int) | Source |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Produced by Haddock version 2.4.2 |