Handbook
Glossary
statfs>file-system-info ( file-system-info statfs -- file-system-info' )
Vocabulary
io
.
files
.
info
.
unix
Inputs
file-system-info
an
object
statfs
an
object
Outputs
file-system-info'
an
object
Definition
USING:
system
;
IN:
io.files.info.unix
HOOK:
statfs>file-system-info
os
( file-system-info statfs -- file-system-info' )
Methods
USING:
accessors
alien.strings
combinators
io.encodings.utf8
io.files.info.unix
system
;
M:
macos
statfs>file-system-info
{
[
f_bsize>>
>>block-size
]
[
f_iosize>>
>>io-size
]
[
f_blocks>>
>>blocks
]
[
f_bfree>>
>>blocks-free
]
[
f_bavail>>
>>blocks-available
]
[
f_files>>
>>files
]
[
f_ffree>>
>>files-free
]
[
f_fsid>>
>>id
]
[
f_owner>>
>>owner
]
[
f_type>>
>>type-id
]
[
f_flags>>
>>flags
]
[
f_fssubtype>>
>>filesystem-subtype
]
[
f_fstypename>>
utf8
alien>string
>>type
]
[
f_mntonname>>
utf8
alien>string
>>mount-point
]
[
f_mntfromname>>
utf8
alien>string
>>device-name
]
}
cleave
;
USING:
io.files.info.unix
kernel
system
;
M:
unix
statfs>file-system-info
drop
;