Bug 195240 - splitttree.py size calc fails for symlink'd files
splitttree.py size calc fails for symlink'd files
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
: 197973 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2006-06-14 11:48 EDT by Bob Arendt
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-06-26 15:13:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to fix symlink file size issue (850 bytes, patch)
2006-06-14 11:48 EDT, Bob Arendt
no flags Details | Diff

  None (edit)
Description Bob Arendt 2006-06-14 11:48:39 EDT
Description of problem:

I'm using anaconda-runtime-11.0.5-1 to respin fedora w/ updates.
It's much faster and disk-efficient to create the new Fedora/RPMS/
directory using symlinks to the original and update cache areas.

The existing version of splittree.py uses the link size instead of
the actual filesize.

Using "du -sL" instead of "du -s" corrects this.  I've attached a patch
that implements this.  du is from coreutils-5.96-1.2.

BTW: bugzilla doesn't have a "anaconda-runtime" category, so I'm
posting this against anaconda.
Comment 1 Bob Arendt 2006-06-14 11:48:40 EDT
Created attachment 130865 [details]
Patch to fix symlink file size issue
Comment 2 Jeremy Katz 2006-06-19 20:33:03 EDT
... splittree also needs to be integrated with createrepo/pkgorder changes.
Comment 3 Paul Nasrat 2006-06-26 15:13:54 EDT
Applied in rawhide so I don't loose in integration work
Comment 4 Jeremy Katz 2006-07-10 20:38:38 EDT
*** Bug 197973 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.