Re: minor bug in "du" size calculator in build_all.sh
Ben Collins <firstname.lastname@example.org> writes:
> # du -s /archive/debian/dists/potato/main/disks-sparc/current/.
> 65128 /archive/debian/dists/potato/main/disks-sparc/current/.
> This third way is what I had setup in debian-cd. I don't see why it didn't
> work for Philip (tested in tcsh and bash).
You're quite right. I must have done a spot of incompetent cut&pasting.
BTW, check this out:
open:~$ du -sDm ~ftp/debian/dists/potato/main/disks-i386/current
open:~$ du -lsDm ~ftp/debian/dists/potato/main/disks-i386/current
Where's the extra 1MB coming from? It's not simply the size of the
things pointed at by symlinks, because that would be 7.5Mb:
open:~$ cd ~ftp/debian/dists/potato/main/disks-i386/current/
open:.../disks-i386/current$ du -Dc `find . -type l`