Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gdrivefs/gdfs/gdfuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,22 +561,22 @@ def statfs(self, filepath):

try:
account_info = AccountInfo.get_instance()
total = account_info.quota_bytes_total / block_size
used = account_info.quota_bytes_used / block_size
total = account_info.quota_bytes_total / block_size_b
used = account_info.quota_bytes_used / block_size_b
free = total - used
except:
_logger.exception("Could not get account-info.")
raise FuseOSError(EIO)

return {
# Optimal transfer block size.
'f_bsize': block_size,
'f_bsize': block_size_b,

# Total data blocks in file system.
'f_blocks': total,

# Fragment size.
'f_frsize': block_size,
'f_frsize': block_size_b,

# Free blocks in filesystem.
'f_bfree': free,
Expand Down
12 changes: 6 additions & 6 deletions gdrivefs/resources/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
fusepy==2.0.2
gevent==1.0
gipc==0.4.0
fusepy==2.0.4
gevent==1.1.1
gipc==0.6.0
google-api-python-client==1.2
greenlet==0.4.2
greenlet==0.4.10
httplib2==0.8
python-dateutil==2.2
six==1.7.3
python-dateutil==2.5.3
six==1.10.0