On Tue, Oct 26, 2010 at 11:31:54PM +0800, xinglp wrote:
> When I finished the lfs build, install some extra software, do some config.
> 
> I use "tar -jcf ../lfs-someday.tar.bz2 *" to backup it. and then
> restore it to another part by "tar -xf ../lfs-someday.tar.bz2
> ../somewhere".
> 
> Then I use df to check the size of them. The restored lfs is bigger
> than where it backup from, about 30MB.
> 
> But when use "cp -a" copy it to new place, they are the same size.
> 
> Where is my wrong?
> -- 
 Perhaps hardlinks ?  At the moment, there don't seem to be many
hardlinks in the plain LFS build, but I've found some for
perl{,5.12.1} and perl{bug,thanks} - I assume there are others :

k...@bluesbreaker ~ $ls -li /usr/bin/perl*
13219 -rwxr-xr-x 2 root root  9998 Sep 26 01:44 /usr/bin/perl
13219 -rwxr-xr-x 2 root root  9998 Sep 26 01:44 /usr/bin/perl5.12.1
14686 -rwxr-xr-x 2 root root 45644 Sep 26 01:44 /usr/bin/perlbug
  ^^^
14687 -rwxr-xr-x 1 root root   224 Sep 26 01:44 /usr/bin/perldoc
14688 -rwxr-xr-x 1 root root 12448 Sep 26 01:44 /usr/bin/perlivp
14686 -rwxr-xr-x 2 root root 45644 Sep 26 01:44 /usr/bin/perlthanks
  ^^^

 If that isn't the problem, you'll need to debug what is going wrong
by breaking it down to particular directories, and then looking at
what is inside them until you can identify which files have grown.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to