Skip to content

FsMetadata

Unix filesystem metadata.

Inherits from: fs.FsMetadata

Fields

blocks @ Int [get]

Total data blocks.

blocks_available @ Int [get]

Free data blocks available to unprivileged users.

blocks_free @ Int [get]

Free data blocks, including reserved blocks.

files @ Int [get]

Total file nodes.

files_available @ Int [get]

Free file nodes available to unprivileged users.

files_free @ Int [get]

Free file nodes.

fragment_size @ Int [get]

Filesystem fragment size in bytes.

freebsd_attrs @ (Int | nil) [get]

Raw FreeBSD filesystem mount attribute mask.

fsid @ (Int | nil) [get]

Raw filesystem identifier when the platform reports one.

linux_attrs @ (Int | nil) [get]

Raw Linux filesystem mount attribute mask.

macos_attrs @ (Int | nil) [get]

Raw macOS filesystem mount attribute mask.

name_max @ Int [get]

Maximum filename length.

no_atime @ (Bool | nil) [get]

Whether access time updates are disabled.

no_dev @ (Bool | nil) [get]

Whether device files are disabled.

no_dir_atime @ (Bool | nil) [get]

Whether directory access time updates are disabled.

no_exec @ (Bool | nil) [get]

Whether execution is disabled.

no_suid @ Bool [get]

Whether setuid execution is disabled.

relatime @ (Bool | nil) [get]

Whether relative-atime updates are enabled.

synchronous @ (Bool | nil) [get]

Whether writes are synchronous.