bindfs icon indicating copy to clipboard operation
bindfs copied to clipboard

Initial code for reporting fake fs size as suggested in #32

Open Harvie opened this issue 8 years ago • 5 comments

Hello, this is first step for size limiting ( #32 )

Harvie avatar May 05 '16 01:05 Harvie

Cool! I'd rather wait for the whole feature to be complete in your branch before merging anything, so please continue developing on this PR. I don't mind if the PR grows large, and I'm happy to comment on intermediate steps if you'd like. Thanks!

mpartel avatar May 05 '16 06:05 mpartel

Well i don't have time to code real limit right now as it would be quite complex piece. However it may be interesting to have this fake size merged anyway...

Harvie avatar Aug 03 '16 00:08 Harvie

Is there a use case for just this part? I'd rather not merge it yet if not.

mpartel avatar Aug 13 '16 19:08 mpartel

@mpartel sure. it can be used for cases where you want the client to clearly see that his resources are limited, but not crash if he gets behind the boundaries. also it can be used for debugging of other programs.

Harvie avatar Feb 26 '17 15:02 Harvie

Sorry I forgot to get back to you .. over 4 years ago :flushed: :man_facepalming: I'd still like a more concrete description of a use-case before merging something like this. How exactly would this be used to debug a program? If it's only "does the program correctly process what df returns", that can be accomplished more cleanly (IMO) with a loopback mount.

mpartel avatar Sep 02 '21 03:09 mpartel