[uClibc] buildroot won't prepare /dev entries? (addition)
Selwyn Tang
selwyn at hectrix.com
Fri Dec 12 04:42:18 UTC 2003
On 12/12/03 11:24, Robin Gilks wrote:
> For the most part, the root file system is built using genext2fs or
> mkfs.jffs2 using the file device_table.txt in the source directory.
Thanks for pointing me there.
> NFS mount I mount the generated root filesystem image using loopback and
> copy the contents to the NFS server.
I see where my problem is. I used to cp -a the rootfs from
build_<arch>/root to my target device's storage, so I missed all the
/dev entries created by genext2fs. In my case, the permissions on some
special files, like /etc/shadow and /etc/passwd, are not set properly,
making me unable to login as root.
Thanks!
Selwyn
More information about the uClibc
mailing list