diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-12-14 13:14:51 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-12-14 13:14:51 +0000 |
commit | 545cd6abb63f1579a3fab8a929fb7d7560c96881 (patch) | |
tree | 20d83cd7c52d1d0dbe9b02b54db0cd2e61e5328b /lib/MDK/Common/System.pm | |
parent | 9ec9327e61feda4ddc19d8506304a1346c8d6887 (diff) | |
download | perl-MDK-Common-545cd6abb63f1579a3fab8a929fb7d7560c96881.tar perl-MDK-Common-545cd6abb63f1579a3fab8a929fb7d7560c96881.tar.gz perl-MDK-Common-545cd6abb63f1579a3fab8a929fb7d7560c96881.tar.bz2 perl-MDK-Common-545cd6abb63f1579a3fab8a929fb7d7560c96881.tar.xz perl-MDK-Common-545cd6abb63f1579a3fab8a929fb7d7560c96881.zip |
get available size of requested partition not / in df
Diffstat (limited to 'lib/MDK/Common/System.pm')
-rw-r--r-- | lib/MDK/Common/System.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDK/Common/System.pm b/lib/MDK/Common/System.pm index bd13629..776c888 100644 --- a/lib/MDK/Common/System.pm +++ b/lib/MDK/Common/System.pm @@ -308,7 +308,7 @@ sub syscall_ { sub df { my ($mntpoint) = @_; require Filesys::Df; - my $df = Filesys::Df::df("/", 1024); # ask 1kb values + my $df = Filesys::Df::df($mntpoint, 1024); # ask 1kb values @$df{qw(blocks bfree)}; } |