IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35129


Ignore:
Timestamp:
Feb 8, 2013, 10:15:53 AM (13 years ago)
Author:
Serge CHASTEL
Message:

nebdiskd: Replaced the 'used' value grabbed from df by the difference between 'total' and 'available' space

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20121218/Nebulous-Server/bin/nebdiskd

    r34942 r35129  
    392392    my @data = split(/:/, $df_data);
    393393    $df_info{"blocks"} = $data[1];
    394     $df_info{"used"} = $data[2];
     394    $df_info{"used"} = $data[1]-$data[3];
    395395    $log->debug("blocks = " . $df_info{"blocks"} . " / used = " . $df_info{"used"});
    396396    return \%df_info;
Note: See TracChangeset for help on using the changeset viewer.