On 4/7/06, M.Canales.es <[EMAIL PROTECTED]> wrote:
> El Viernes, 7 de Abril de 2006 22:27, Dan Nicholson escribió:
>
> > Yes, I get the failures without /etc/mtab.  That's the issue.
>
> Due that in udev_update no mounts are done inside the chroot, /etc/mtab isn't
> created.
>
> I think that we should to add the "touch /etc/mtab" in chapter06/e2fsprogs.xml
> just before the "make check" command.

I think it should go right with the mount commands so there is no
confusion.  Also, we don't know whether another package depends upon
an mtab file being present.  To me, it's safest to add

mkdir -pv ${LFS}/etc
touch ${LFS}/etc/mtab

to the kernfs page.  With a note like

"A proper Linux system maintains a list of the mounted file systems in
the /etc/mtab file.  Since we will not be mounting any filesystems
inside the chroot, create an empty file for utilities that expect its'
presence."

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to