[buildd-tools-devel] Bug#825359: sbuild: unrealistic figure about total space used

Santiago Vila sanvila at unex.es
Fri Jul 1 08:44:28 UTC 2016


On Fri, 1 Jul 2016, Johannes Schauer wrote:

> Santiago, I noticed that you are using a directory type chroot without using
> union-type=overlay. Could it be that your /chroot/stretch/build directory
> contains leftovers of previous builds?

That both can't be and should not be :-)

It "can't be" because even if du is accounting for any leftover,
in either case the reported space would never be higher than the disk
size (I don't have such a big disk).

Also, it "should not be" because sbuild creates a temporary directory in
/chroot/stretch/build named

/chroot/stretch/build/sourcename-randomstring

I want to believe that the "du" command is performed on this last
directory, not on its parent, but I will leave this to you to check,
since you know the code a lot better than me.

Thanks.



More information about the Buildd-tools-devel mailing list