Class Sys::Filesystem::Stat
In: ext/sys/filesystem.c
Parent: Object

Instances of this class are returned by the Filesystem.stat method

Constants

RDONLY = 0x00000001   Read only file system
NOSUID = 0x00000002   File system does not support suid or sgid semantics
NOTRUNC = 0x00000003   File system does not truncate file names longer than name_max

External Aliases

files -> inodes
files_free -> inodes_free
files_available -> inodes_available

Attributes

base_type  [R]  The file system type, e.g. UFS
block_size  [R]  The preferred system block size
blocks  [R]  The total number of fragment_size blocks in the file system
blocks_available  [R]  The number of free blocks available to unprivileged processes
blocks_free  [R]  The total number of free blocks in the file system
files  [R]  The total number of files/inodes that can be created
files_available  [R]  The number of free files/inodes available to unprivileged processes
files_free  [R]  The total number of free files/inodes on the file system
filesystem_id  [R]  The file system identifier
flags  [R]  A bit mask of flags. See the Constants for a list of flags
fragment_size  [R]  The fragment size, i.e. fundamental file system block size
name_max  [R]  The maximum length of a file name permitted on the file system
path  [R]  The path of the file system

[Validate]