On Mon, 19 Mar 2012 19:23:51 +0000
Bruce Dubbs <[email protected]> wrote:

> Pierre Labastie wrote:
> > Also, it might be interesting/necessary to copy the content of 
> > /lib/firmware to $WDIR.
> 
> That directory has always been empty for me.  What populates it?
> I've always thought of that directory to be for specialized video cards. 
>   That's not needed for BLFS to mount the root file system (the sole 
> purpose of the initramfs).  Is there another use?

If your graphics card needs firmware it may lock your system up if it
doesn't find the firmware when the kernel finds the hardware. You can
download a good collection of firmware from
git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git

> > In the init.in script:
> > Not needed (automatically created by devtmpfs):
> > mknod -m 640 /dev/console c 5 1
> > mknod -m 664 /dev/null    c 1 3
> 
> Do you have any idea where that's done?  I looked in the source for the 
> kernel and util-linux, but can't find it.

If you enable:

CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y

Then the kernel will mount a tmpfs on /dev and populate it with all the
things it knows about. It gives them the default names and permissions
(it's not as sophisticated as udev).

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

Reply via email to