Sys::Filesystem::Darwin - Return Darwin (Mac OS X) filesystem information to Sys::Filesystem


Sys-Filesystem documentation  | view source Contained in the Sys-Filesystem distribution.

Index


NAME

Top

Sys::Filesystem::Darwin - Return Darwin (Mac OS X) filesystem information to Sys::Filesystem

SYNOPSIS

Top

See Sys::Filesystem.

DESCRIPTION

Top

The filesystem information is taken from diskutil, the system utility supplied on Mac OS X.

INHERITANCE

Top

  Sys::Filesystem::Darwin
  ISA Sys::Filesystem::Unix
    ISA UNIVERSAL

METHODS

Top

version ()

Return the version of the (sub)module.

ATTRIBUTES

Top

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.

mount_point

The mount point (usually either '/' or '/Volumes/...').

device

The mounted device

format

Describes the type of the filesystem. So far I encountered the following types:

hfs

The standard Mac OS X HFS(+) filesystem. Disk images (.dmg) and Mac Software DVDs normally also use the HFS(+) format.

msdos

DOS image files (e.g. floppy disk images)

cd9660

CD-ROM image files or real CD-ROMs

cddafs

Audio CDs

udf

UDF filesystem (e.g. DVDs)

(empty)

For mounted FTP servers, disktool returns an empty filesystem type (ie, '').

BUGS

Top

Doesn't take /etc/fstab or /etc/xtab into account right now, since they are normally not used. Contact the author if you need this.

SEE ALSO

Top

Sys::Filesystem, diskutil

VERSION

Top

$Id: Darwin.pm 185 2010-07-15 19:25:30Z trevor $

AUTHOR

Top

Christian Renz <crenz@web42.com>

Jens Rehsack <rehsack@cpan.org> - http://www.rehsack.de/

COPYRIGHT

Top


Sys-Filesystem documentation  | view source Contained in the Sys-Filesystem distribution.