Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Create /dev/null along with /dev/console when building cpio rootfs
@ 2014-04-29 15:12 Dan Moulding
  2014-04-29 15:12 ` [Buildroot] [PATCH] Create /dev/null device node when building a " Dan Moulding
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Moulding @ 2014-04-29 15:12 UTC (permalink / raw)
  To: buildroot

I am currently forced to support an older kernel (2.6.18). That kernel
does not have devtmpfs support. However, I'd still like to be able to
use mdev for automatic /dev management. mdev seems to be more than
happy to work on top of just plain tmpfs (well, technically, in my
case it is the special rootfs instance of tmpfs). However, init is
unhappy because /dev/null hasn't been created by the time init
runs. This patch creates /dev/null in addition to /dev/console when
building the cpio rootfs, so that /dev/null will be there when init
runs. Afterward, mdev is able to take care of the rest.

Dan Moulding (1):
  Create /dev/null device node when building a cpio rootfs

 fs/cpio/cpio.mk | 1 +
 1 file changed, 1 insertion(+)

-- 
1.8.2.1

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

end of thread, other threads:[~2014-07-16 19:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-29 15:12 [Buildroot] [PATCH] Create /dev/null along with /dev/console when building cpio rootfs Dan Moulding
2014-04-29 15:12 ` [Buildroot] [PATCH] Create /dev/null device node when building a " Dan Moulding
2014-04-29 18:37   ` Arnout Vandecappelle
2014-04-29 19:18     ` Dan Moulding
2014-07-16 19:07     ` Thomas Petazzoni

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