StatsFs

external class StatsFs : StatsFsBase<Double> (source)

Provides information about a mounted file system.

Objects returned from {@link statfs} and its synchronous counterpart are of this type. If bigint in the options passed to those methods is true, the numeric values will be bigint instead of number.

StatFs {
type: 1397114950,
bsize: 4096,
blocks: 121938943,
bfree: 61058895,
bavail: 61058895,
files: 999,
ffree: 1000000
}

bigint version:

StatFs {
type: 1397114950n,
bsize: 4096n,
blocks: 121938943n,
bfree: 61058895n,
bavail: 61058895n,
files: 999n,
ffree: 1000000n
}

Since

v19.6.0, v18.15.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override var bavail: Double

Available blocks for unprivileged users

Link copied to clipboard
open override var bfree: Double

Free blocks in file system.

Link copied to clipboard
open override var blocks: Double

Total data blocks in file system.

Link copied to clipboard
open override var bsize: Double

Optimal transfer block size.

Link copied to clipboard
open override var ffree: Double

Free file nodes in file system.

Link copied to clipboard
open override var files: Double

Total file nodes in file system.

Link copied to clipboard
open override var type: Double

Type of file system.