﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2982	"Replace ""uncompress"" with a symlink"	Marcel van den Boer	lfs-book@…	"During the installation of gzip (chapter 6), the file /bin/uncompress is moved to
/usr/bin. However, because uncompress is a hard link to /bin/gunzip, this move
fails if /usr is on a separate partition.

I've tagged this issue as a defect, because in the chapter
""Creating a New Partition"", LFS instructs the reader to consider putting /usr on a
separate partition, which clearly is not possible without modifying LFS a bit.

The solution is simple. In the instructions for installing gzip in chapter 6:

{{{
mv -v /bin/{gzexe,uncompress,zcmp,zdiff,zegrep} /usr/bin
mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin
}}}

should become:

{{{
mv -v /bin/{gzexe,zcmp,zdiff,zegrep} /usr/bin
mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin

rm -rvf /bin/uncompress
ln -sv ../../bin/gunzip /usr/bin/uncompress
}}}
"	defect	closed	normal	7.1	Book	SVN	normal	invalid	gzip, uncompress	
