Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] mdev problem in 2011.08 ?
@ 2011-09-18 13:01 Pierre Ficheux
  2011-09-18 14:28 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Ficheux @ 2011-09-18 13:01 UTC (permalink / raw)
  To: buildroot

Hi all,

May be I'm wrong but it seems there is a problem when using mdev for
/dev management:

/dev management (Dynamic using mdev)

The /dev/null device is needed by /etc/inittab when mounting /proc and
/sys. As it does not exist because S10mdev is started later, /sys is not
mounted and mdev -s does not work.

# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

I fixed it for my test by adding the following line to /etc/inittab

::sysinit:/bin/mknod /dev/null c 1 3


regards

-- 
Pierre FICHEUX -/- CTO OW/OWI, France -\- pierre.ficheux at openwide.fr
                                         http://ingenierie.openwide.fr
                                         http://www.ficheux.org
I would love to change the world, but they won't give me the source code

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-18 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-18 13:01 [Buildroot] mdev problem in 2011.08 ? Pierre Ficheux
2011-09-18 14:28 ` Thomas Petazzoni
2011-09-18 16:44   ` Pierre Ficheux
2011-09-18 17:14     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox