On 15 Jun 2005, you wrote in lfs.book:

<snip>
> 
> To me, the following text needs some work:
> 
> "The ideal way to populate /dev is to mount a ramfs onto /dev, like
> tmpfs, and create the devices on there during each bootup."
> 
> I can't make heads or tails from this text. My initial reading is
> that tmpfs should be somehow mounted onto /dev. This can't be right.
> It seems the text is just a bunch of fluff.
> 

Nope, that's correct. During initial boot of the rootfs, the /dev directory 
contains only the necessary devices to have the kernel start the init 
process (console, null, etc). The bootscripts mount a tmpfs over /dev and 
udev then populates the tmpfs dynamically.

<snip>

> 
> I could provide more text if anyone is interested, however, the 
> text currently in the book could use some polishing.
>

How about:

The recommended method of populating the /dev directory with devices is to 
mount a virtual filesystem (such as tmpfs) on the /dev directory, and let 
the devices be created dynamically as they are detected or accessed.

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

Reply via email to