Changeset 21863 in project
 Timestamp:
 12/08/10 14:14:27 (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/3/filesystem
r13628 r21863 23 23 === Documentation 24 24 25 ; <procedure>(filesystem:blocksize PATH)</procedure> : Returns the size of a block on the filesystem at PATH. 25 <procedure>(filesystem:blocksize PATH)</procedure> 26 26 27 ; <procedure>(filesystem:blockstotal PATH)</procedure> : Returns the total number of blockson the filesystem at PATH.27 Returns the size of a block on the filesystem at PATH. 28 28 29 ; <procedure>(filesystem:blocksfree PATH)</procedure> : Returns the number of free blocks on the filesystem at PATH. 29 <procedure>(filesystem:blockstotal PATH)</procedure> 30 30 31 ; <procedure>(filesystem:blocksavailable PATH)</procedure> : Returns the number of blocks available to nonroot users on the filesystem at PATH.31 Returns the total number of blocks on the filesystem at PATH. 32 32 33 ; <procedure>(filesystem:blocks>bytes BLOCKSIZE BLOCKS UNITS)</procedure> : Converts blocks to bytes, given the size of a block, the number of blocks, and a number representing the unit size, i.e. 1000 for kilobytes, 1024 for kibibytes. 33 <procedure>(filesystem:blocksfree PATH)</procedure> 34 34 35 ; <procedure>(filesystem:blocks>kilobytes BLOCKSIZE BLOCKS EXPONENT)</procedure> : Converts blocks to (kilo/mega/giga)bytes given the size of a block, the number of blocks, and an exponent representing the exponent on the unit size, i.e 1 for kilobytes, 2 for megabytes, 3 for gigabtyes, etc.35 Returns the number of free blocks on the filesystem at PATH. 36 36 37 ; <procedure>(filesystem:blocks>kibibytes BLOCKSIZE BLOCKS EXPONENT)</procedure> : Converts blocks to (kibi/mebi/gibi)bytes, given the size of a block, the number of blocks, and an exponent representing the exponent on the unit size, i.e. 1 for kibibytes, 2 for mebibytes, 3 for gibigytes, etc. 37 <procedure>(filesystem:blocksavailable PATH)</procedure> 38 39 Returns the number of blocks available to nonroot users on the filesystem at PATH. 40 41 <procedure>(filesystem:blocks>bytes BLOCKSIZE BLOCKS UNITS)</procedure> 42 43 Converts blocks to bytes, given the size of a block, the number of blocks, and a number representing the unit size, i.e. 1000 for kilobytes, 1024 for kibibytes. 44 45 <procedure>(filesystem:blocks>kilobytes BLOCKSIZE BLOCKS EXPONENT)</procedure> 46 47 Converts blocks to (kilo/mega/giga)bytes given the size of a block, the number of blocks, and an exponent representing the exponent on the unit size, i.e 1 for kilobytes, 2 for megabytes, 3 for gigabtyes, etc. 48 49 <procedure>(filesystem:blocks>kibibytes BLOCKSIZE BLOCKS EXPONENT)</procedure> 50 51 Converts blocks to (kibi/mebi/gibi)bytes, given the size of a block, the number of blocks, and an exponent representing the exponent on the unit size, i.e. 1 for kibibytes, 2 for mebibytes, 3 for gibigytes, etc. 38 52 39 53 === Example
Note: See TracChangeset
for help on using the changeset viewer.