On 7/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I will be using my host system, I want to run Chap 6 now.  But if I get
the drift of your question, the host system runs with a real /dev on
the root filesystem.  It's a LFS-4.1 system running with a "test"
2.6.11.12 kernel compiled without modules.
[snip]
Dan?  Got any suggestions for me?

The way this is handled now in lfs-svn is to bind mount the /dev of
the host into the chroot ${LFS}/dev. You'd have to mount it each time
you reboot. The underlying console and null nodes in ${LFS}/dev should
only need to be created once. This makes things a lot simpler for
rebooting as well as dropping the old, kludgy switch to udev after
it's installed.

So, basically you can just run all the commands on this page:

http://www.linuxfromscratch.org/lfs/view/development/chapter06/kernfs.html

You could probably write a simple script that checks for the existence
of ${LFS}/dev/{console,null}, whether the virtual kernel file systems
are already mounted, etc.

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

Reply via email to