CfgTie::TieMTab -- an associative array of mount entries
CfgTie::TieMTab
makes the mount table available as a regular hash:
tie %MTab, 'CfgTie::TieMTab'; tie %MTab, 'CfgTie::TieMTab_dev';
The keys are path and devices.
The values are always list references. The lists are one of two forms. For local path, the list is of the form:
[$device, $path, $type, $options]
Other paths not in the mount table are of the form
[$device]
The form of device varies from system to system. It is usually the device specified in the mount table. NFS and other network mounts are of the form host:path. amd devices are different, and (at the time of this writing) their form isn't known.
amd
This requires Quota to work. You can get it from CPAN.
Quota
(on many machines)
(on Linux machines)
Quota::
Randall Maas (mailto:randym@acm.org, http://www.hamline.edu/~rcmaas/)
To install Secure::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Secure::File
CPAN shell
perl -MCPAN -e shell install Secure::File
For more information on module installation, please visit the detailed CPAN module installation guide.