Sys::Filesystem::Darwin - Return Darwin (Mac OS X) filesystem information to Sys::Filesystem
See Sys::Filesystem.
The filesystem information is taken from diskutil, the system utility supplied on Mac OS X.
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object.
The property 'label' is also set, but cannot be queried by Sys::Filesystem yet.
The mount point (usually either '/' or '/Volumes/...').
The mounted device
Describes the type of the filesystem. So far I encountered the following types:
The standard Mac OS X HFS(+) filesystem. Disk images (.dmg) and Mac Software DVDs normally also use the HFS(+) format.
DOS image files (e.g. floppy disk images)
CD-ROM image files or real CD-ROMs
Audio CDs
UDF filesystem (e.g. DVDs)
For mounted FTP servers, disktool returns an empty filesystem type (ie, '').
Doesn't take /etc/fstab or /etc/xtab into account right now, since they are normally not used. Contact me if you need this.
Sys::Filesystem, diskutil
$Id: Darwin.pm,v 1.3 2005/12/08 15:44:12 nicolaw Exp $
Christian Renz <crenz@web42.com>
(c) Christian Renz 2004, 2005. This program is free software; you can redistribute it and/or modify it under the GNU GPL.
See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt
To install Sys::Filesystem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sys::Filesystem
CPAN shell
perl -MCPAN -e shell install Sys::Filesystem
For more information on module installation, please visit the detailed CPAN module installation guide.