[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: minor bug in "du" size calculator in build_all.sh



On Sat, May 27, 2000 at 09:54:02AM +0100, Philip Hands wrote:
> Hi,
> 
> du doesn't follow symbolic links, so the size of "current" is reported
> as 0
> 
> This will work:
> 
>   disks=`cd ${MIRROR}/dists/${CODENAME}/main/disks-${ARCH}/current ;\ 
>          du -sm | cut -f1'`

Umm, it should work since I used .../current/. which completely ignores
the symlink. I used it to build quite a few CD's, are you sure something
else isn't wrong?

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: