On Mon, 1 Aug 2011 10:04:49 +0800 (CST) zhangxinlong <zhang1xin2l...@163.com> wrote:
> Hello./dev/ttyS0 what time create... does it in kernel initrd.. or create > in user space for using this commnad :mknod /dev/ttyS0 c 4 64mknod /dev/ttyS1 > c 4 65I'm confused , who can help me.. Thanks. We don't use an initrd in LFS (though there is a hint about how to use one). If you have configured your kernel with CONFIG_DEVTMPFS_MOUNT=y then the kernel will mount a devtmpfs filesystem on /dev and populate it with all the devices it knows about early in the boot process and then udev will take over when it gets started. Otherwise everything in /dev is created by udev when its bootscripts are run (or when you plug the device in if it's something like a USB stick). Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page