tifs
tifs copied to clipboard
quotas & disk space usage info
I am new for tifs. I build a test env for tifs. I have two questions.
- Could you guide me how to set qutoas on tifs (maybe set some options when mount )?
- when I use df command, there is no disk space usage info, it display "-
"
Oh, I think it's a wrong implementation of statfs
, we should only set used space instead of size.
It seems we must set the total size, which is calculated by blocks and bsize. In this case, if we set the used space, the available space will always be zero (a confused behaviour).
What about quotas on tifs (fuse) ?
We can have quotas, I can do that at this weekends. You are welcome to create a PR, just add a mount option and store it in Meta
.
Should be implemented in #d816e44, please wait for v0.2.0 to use this feature.