Tobias Gasser wrote:
> running the tests from coreutils, the sources can't be removed as a 
> mountpoint within the test is not unmounted.
> 
> solution:
> 
> 
> MNT=$( mount | grep coreutils | awk '{print 3}' )
> for i in $MNT ; do
>    umount $i >/dev/null
> done
> 
> 
> i added this lines after "make install" quite some time ago to both 
> chapter 5 and 6. immediate after the make check the mountpoint often 
> seems to be still in use, but after install i could always unmount.
> 
> i'd propose to add this to the coreutils script.
> 
> thanks
> tobias

What mountpoint is this exactly? I've never had any issues with removing 
the Coreutils source dir, and have never seen anything mounted there. 
I've just run the Coreutils testsuite, exactly as stated in the book, 
and nothing was mounted in the Coreutils source dir after it was done.

Also, even if there was, this should never be an issue in Chapter 5, 
since the lfs user should not be able to mount anything.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to