mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
borgfs.statfs: add comments
This commit is contained in:
parent
dfef2b9092
commit
63e17d6da2
1 changed files with 8 additions and 8 deletions
|
@ -562,14 +562,14 @@ def pop_option(options, key, present, not_present, wanted_type, int_base=0):
|
|||
@async_wrapper
|
||||
def statfs(self, ctx=None):
|
||||
stat_ = llfuse.StatvfsData()
|
||||
stat_.f_bsize = 512
|
||||
stat_.f_frsize = 512
|
||||
stat_.f_blocks = 0
|
||||
stat_.f_bfree = 0
|
||||
stat_.f_bavail = 0
|
||||
stat_.f_files = 0
|
||||
stat_.f_ffree = 0
|
||||
stat_.f_favail = 0
|
||||
stat_.f_bsize = 512 # Filesystem block size
|
||||
stat_.f_frsize = 512 # Fragment size
|
||||
stat_.f_blocks = 0 # Size of fs in f_frsize units
|
||||
stat_.f_bfree = 0 # Number of free blocks
|
||||
stat_.f_bavail = 0 # Number of free blocks for unprivileged users
|
||||
stat_.f_files = 0 # Number of inodes
|
||||
stat_.f_ffree = 0 # Number of free inodes
|
||||
stat_.f_favail = 0 # Number of free inodes for unprivileged users
|
||||
stat_.f_namemax = 255 # == NAME_MAX (depends on archive source OS / FS)
|
||||
return stat_
|
||||
|
||||
|
|
Loading…
Reference in a new issue