Use of unionfs to build lfs in stage 5 en 6.

Alexander E. Patrakov patrakov at
Fri Nov 24 08:55:33 PST 2006

Stef Bon wrote:
> What do you think about unionfs? 
> The existing situation works, but this new construction looks good.

Unionfs was used with LFS-6.1 LiveCDs. It has been dropped then, for a 
reason: too buggy, especially on SMP. Try running "make check" for glibc 
on unionfs. Or (for stress testing) try installing the same package 
(e.g., Vim) 1000 times repeatedly in /usr on LFS-6.1.1 CD. It will just 
hang or produce an oops. Many unionfs releases could not even boot the 
CD (i.e., produced an oops as early as during boot).

The new DM-based CDs handle this stress test just fine, but DM is not 
suitable for package management because it works on block device level, 
not filesystem level.

Alexander E. Patrakov

More information about the lfs-dev mailing list