|
C |
CfgTie::TieMTab -- an associative array of mount entries
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.
This requires Quota to work. You can get it from CPAN.
Randall Maas (mailto:randym@acm.org, http://www.hamline.edu/~rcmaas/)
|
C |