Re-entering with chroot question

Matthias B. msbREMOVE-THIS at winterdrache.de
Fri Jan 7 09:48:07 PST 2005


On Fri, 07 Jan 2005 09:50:30 -0500 Jon <jongrosshart at sbcglobal.net> wrote:

> However, when I issue the mount command, I get this:
[snip]
> 
> This makes no sense to me. 

mount gets its information from /etc/mtab. When you do some mounts inside
and some mounts outside of chroot, it is almost inevitable that /etc/mtab
gets screwed up (because the mounts done outside of chroot don't appear in
the /etc/mtab from inside chroot and vice versa). One way to fix this is
to copy /proc/mounts to /etc/mtab after entering chroot.

MSB

-- 
This sentence no verb.




More information about the lfs-support mailing list