Bryan Kadzban wrote:
> On Sat, Dec 21, 2013 at 03:17:31PM -0600, Bruce Dubbs wrote:
>> Ken Moffat wrote:
>>> On Sat, Dec 21, 2013 at 10:11:06AM -0800, Bryan Kadzban wrote:
>>>> On Sat, Dec 21, 2013 at 05:56:37PM +0100, Armin K. wrote:
>>>>> This also might be related that my kernel is built with
>>>>> CONFIG_DEVTMPFS_MOUNT=y kernel option. Someone please verify before
>>>>> taking action, if any.
>>>>
>>>> My machine does *not* mount devtmpfs automatically; the bootscripts (and
>>>> specifically mountkernfs) are required.  Which means that init=/bin/bash
>>>> won't work without the static files, as the book says.  :-)
>>>>
>>>
>>>    Devtmpfs has been in the book, on the kernel page in chapter 8,
>>> since LFS-7.1 and I agree with Armin that the newly-installed system
>>> doesn't need /dev/console or /dev/null.
>
> devtmpfs being enabled (which is what's in chapter 8) does *NOT* mean
> that devtmpfs will be mounted by the kernel (which is not mentioned in
> the book at all).

Yes, but there is CONFIG_DEVTMPFS_MOUNT.  Can also be enabled with 
devtmpfs.mount=1

"With this option enabled, it allows to bring up a system in rescue mode 
with init=/bin/sh, even when the /dev directory on the rootfs is 
completely empty."

   -- Bruce


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

Reply via email to