| 1 |
NAME |
| 2 |
|
| 3 |
Filesys::DiskSpace - Perl df |
| 4 |
|
| 5 |
DESCRIPTION |
| 6 |
|
| 7 |
This routine displays information on a file system such as its type, |
| 8 |
the amount of disk space occupied, the total disk space and the number |
| 9 |
of inodes. |
| 10 |
It tries C<syscall(SYS_statfs)> and C<syscall(SYS_statvfs)> in several |
| 11 |
ways. If all fails, it C<croak>s. |
| 12 |
|
| 13 |
More information about this module is included in this package. |
| 14 |
|
| 15 |
INSTALLATION |
| 16 |
|
| 17 |
To install, cd to the directory containing the unpacked |
| 18 |
distribution and do one of the following: |
| 19 |
|
| 20 |
a. Create a makefile by running Makefile.PL using the perl |
| 21 |
program into whose library you want to install and then run |
| 22 |
make three times: |
| 23 |
|
| 24 |
perl Makefile.PL |
| 25 |
make |
| 26 |
make test |
| 27 |
make install |
| 28 |
|
| 29 |
b. To install into a private library, for example your home |
| 30 |
directory: |
| 31 |
|
| 32 |
perl Makefile.PL INSTALLSITELIB=$HOME/lib INSTALLMAN3DIR=$HOME/man |
| 33 |
make |
| 34 |
make test |
| 35 |
make pure_install |