gzip bug

Neven Has haski at sezampro.yu
Mon Jan 8 17:46:41 PST 2001


On Mon, Jan 08, 2001 at 08:16:43PM -0500, Gerard Beekmans wrote:
> >      cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin &&
> >      rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip
> >
> > Is there a reason for that, or if not, is it fixed ?
> 
> It's kind of a kludge yes. the gzip installation creates hard links (instead 
> of symbolic links) and when trying to mv such files the hard links break and 
> 'mv' fails with some error. cp gzip, then symlink the 
> gunzip/compress/uncompress files and remove the hardlinks and the original 
> files from $LFS/usr/bin
> 
> That overcomes the mv problem. Hope I made sense....

Yes, you did. :)

Although I think:

	mv $LFS/usr/bin/gzip $LFS/bin &&
	mv $LFS/usr/bin/gunzip $LFS/bin

can be used instead ? But it's the same thing anyway ...

Neven







More information about the alfs-discuss mailing list