Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ficheux <pierre.ficheux@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] mdev problem in 2011.08 ?
Date: Sun, 18 Sep 2011 15:01:51 +0200	[thread overview]
Message-ID: <4E75EBBF.9080203@openwide.fr> (raw)

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

             reply	other threads:[~2011-09-18 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 13:01 Pierre Ficheux [this message]
2011-09-18 14:28 ` [Buildroot] mdev problem in 2011.08 ? Thomas Petazzoni
2011-09-18 16:44   ` Pierre Ficheux
2011-09-18 17:14     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E75EBBF.9080203@openwide.fr \
    --to=pierre.ficheux@openwide.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox