perl-Filesys-DfPortable - Perl extension for filesystem disk space information

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Filesys-DfPortable-0.85-alt4.1.x86_64.rpm
Package name perl-Filesys-DfPortable
Package version 0.85
Package release alt4.1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 29.68 KB
Installed size 29.68 KB
This module provides a portable way to obtain filesystem disk space.
The module should work with all versions of Windows (95 and up),
and with all flavors of Unix that implement the `statvfs' or the `statfs'
calls. This would include Linux, *BSD, HP-UX, AIX, Solaris, Mac OS X, Irix,
Cygwin, etc ...
This module differs from Filesys::Df in that it has added support
for Windows, but does not support open filehandles as a argument.
`dfportable()' requires a directory argument that represents the filesystem
you want to query. There is also an optional block size argument so that
you can tailor the size of the values returned. The default block size
is 1, this will cause the function to return the values in bytes.
If you never use the block size argument, then you can think of any
instance of "blocks" in this document to really mean "bytes".
`dfportable()' returns a reference to a hash. The keys available in
the hash are as follows:
{blocks} = Total blocks on the filesystem.
{bfree} = Total blocks free on the filesystem.
{bavail} = Total blocks available to the user executing the Perl
application. This can be different than `{bfree}' if you have per-user
quotas on the filesystem, or if the super user has a reserved amount.
`{bavail}' can also be a negative value because of this. For instance
if there is more space being used then you have available to you.
{bused} = Total blocks used on the filesystem.
{per} = Percent of disk space used. This is based on the disk space
available to the user executing the application. In other words, if
the filesystem has 10% of its space reserved for the superuser, then
the percent used can go up to 110%.
You can obtain inode information through the module as well. But you
must call `exists()' on the `{files}' key to make sure the information is
available. Some filesystems may not return inode information, for
example Windows, and some NFS filesystems.
Here are the available inode keys:
{files} = Total inodes on the filesystem.
{ffree} = Total inodes free on the filesystem.
{favail} = Total inodes available to the user executing the application.
See the rules for the `{bavail}' key.
{fused} = Total inodes used on the filesystem.
{fper} = Percent of inodes used on the filesystem. See rules for the `{per}'
If the `dfportable()' call fails for any reason, it will return
`undef'. This will probably happen if you do anything crazy like try
to get information for /proc, or if you pass an invalid filesystem name,
or if there is an internal error. `dfportable()' will `croak()' if you pass
it a undefined value.
Your system must contain `statvfs()', `statfs()', `GetDiskFreeSpaceA()', or `GetDiskFreeSpaceEx()'.
You must be running Perl 5.6 or higher.


Package Version Architecture Repository
perl-Filesys-DfPortable-0.85-alt4.1.i586.rpm 0.85 i586 Autoimports
perl-Filesys-DfPortable - - -


Name Value
/usr/lib64/perl5 - - - - -
perl( -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Filesys/ = 0.850
perl-Filesys-DfPortable = 0.85-alt4.1


Type URL
Binary Package perl-Filesys-DfPortable-0.85-alt4.1.x86_64.rpm
Source Package perl-Filesys-DfPortable-0.85-alt4.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] x86_64 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Filesys-DfPortable rpm package:
    # sudo apt-get install perl-Filesys-DfPortable



See Also

Package Description
perl-Filesys-DiskUsage-Fast-0.04-alt4.1.x86_64.rpm A fast disk usage counter (du) with XS
perl-Filesys-Ext2-0.20-alt4.1.x86_64.rpm Interface to ext2 and ext3 filesystem attributes
perl-Filesys-Ext2-scripts-0.20-alt4.1.x86_64.rpm Filesys-Ext2 scripts
perl-Filesys-SmbClient-3.2-alt8_20.x86_64.rpm Samba client Perl module
perl-Filter-Rijndael-0.04-alt4.1.x86_64.rpm Source Filter used for encrypting source code based on Filter::decrypt
perl-Filter-gunzip-7-alt1.x86_64.rpm Source filter uncompressing gzip files
perl-Font-FreeType-0.12-alt1.1.x86_64.rpm read font files and render glyphs from Perl using FreeType2
perl-Forks-Super-0.97-alt1.1.x86_64.rpm extensions and convenience methods to manage background processes
perl-Freq-0.22-alt4.1.x86_64.rpm perl module Freq
perl-Furl-Cookies-0.03-alt4.1.x86_64.rpm HTTP Cookie jars for Furl
perl-Fuse-PDF-0.09-alt9.1.x86_64.rpm Filesystem embedded in a PDF document
perl-Fuse-PDF-scripts-0.09-alt9.1.x86_64.rpm Fuse-PDF scripts
perl-Future-AsyncAwait-0.20-alt1.1.x86_64.rpm deferred subroutine syntax for futures
perl-GD-Chart-0.05-alt4.1.x86_64.rpm perl module GD-Chart
perl-GD-Image-CopyIFS-0.25-alt4.1.x86_64.rpm fractal-based image copying and resizing