Displaying 1 result from an estimated 1 matches for "blocksavail".
2009 Jul 01
0
Unix Extensions + ext3 quotas + df
...SMB_BIG_UINT factor = bsize/block_size;
+ bsize = block_size;
+ dsize *= factor;
+ dfree *= factor;
+ }
+ bytes_per_sector = 512;
+ sectors_per_unit = bsize/bytes_per_sector;
+
+ svfs.BlockSize = bsize;
+ svfs.TotalBlocks = dsize;
+ svfs.BlocksAvail = dfree;
+ svfs.UserBlocksAvail = dfree;
+ svfs.TotalFileNodes = 0;
+ svfs.FreeFileNodes = 0;
+ }
+ }
+
data_len = 56;
SIVAL(pdata,0,svfs.OptimalTransferSize);
SIVAL(pdata,4,svfs.BlockSize);
SBIG_UINT(pdata,8,svfs.TotalBlocks);
SBIG_UINT(pda...