[tahoe-dev] Suggestion for command: tahoe df
Greg Troxel
gdt at ir.bbn.com
Sun Jun 9 12:09:55 UTC 2013
Pierre Abbat <phma at bezitopo.org> writes:
> I'd like to see a tahoe df command. It should find out how much free
> space is at each storage server, sort them, clip the biggest
> shares.happy ones to the shares.happy'th, add them up, and divide by
> the expansion factor. When run verbosely, it could tell how much free
> space is available at each server. What do you think?
That's a good idea. Moreover, really it should try to return the
contents of statvfs, so that 'df' on a sytem with a FUSE mount will work
right. (usual rant tahoe isn't as special as it thinks)
I suspect 'how much is free' is tricky, but your approach sounds right.
More information about the tahoe-dev
mailing list