[lfs-book] Only few things in /dev after execute udev_retry

Matt Burgess matthew at linuxfromscratch.org
Wed Feb 1 12:55:00 PST 2012


On Thu, 2012-02-02 at 04:28 +0800, xinglp wrote:
> I'm using SVN-20120130, kernel 3.2.2 udev-180
> 
> I add "ls -al /dev &>> /var/log/infodev.log" to the end of
> /etc/rc.d/rcS.d/S50udev_retry,
> and got the below infomation:
> 
> total 5
> drwxr-xr-x  5 root root      300 Feb  2  2012 .
> drwxr-xr-x 21 root root      480 Feb  2 03:11 ..
> drwxr-xr-x  2 root root       60 Feb  2  2012 char
> lrwxrwxrwx  1 root root       13 Feb  2  2012 fd -> /proc/self/fd
> crw-rw-rw-  1 root root  10, 229 Feb  2  2012 fuse
> -rw-r--r--  1 root root       37 Feb  2  2012 kmsg
> c---------  1 root root  10, 237 Feb  2  2012 loop-control
> drwxr-xr-x  2 root root       60 Feb  2  2012 mapper
> crw-rw-rw-  1 root root   1,   3 Feb  2  2012 null
> c---------  1 root root 108,   0 Feb  2  2012 ppp
> drwxr-xr-x  2 root root        0 Feb  2  2012 pts
> lrwxrwxrwx  1 root root        8 Feb  2  2012 shm -> /run/shm
> lrwxrwxrwx  1 root root       15 Feb  2  2012 stderr -> /proc/self/fd/2
> lrwxrwxrwx  1 root root       15 Feb  2  2012 stdin -> /proc/self/fd/0
> lrwxrwxrwx  1 root root       15 Feb  2  2012 stdout -> /proc/self/fd/1
> 
> And /etc/rc.d/init.d/{random,sshd} unable to start. Where am I wrong?

Later versions of Udev require you to mount a devtmpfs on /dev.  Do you
have CONFIG_DEVTMPFS set in your kernel?

Also, lfs-dev/lfs-support are better lists for this kind of query;
lfs-book should really only be used for automatic messages from Trac and
subversion.

Thanks,

Matt.




More information about the lfs-book mailing list