Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] mdev handling
@ 2010-09-08 14:07 Yegor Yefremov
  2010-09-08 14:22 ` William Wagner
  2010-09-08 14:29 ` Peter Korsgaard
  0 siblings, 2 replies; 12+ messages in thread
From: Yegor Yefremov @ 2010-09-08 14:07 UTC (permalink / raw)
  To: buildroot

AFAIK mdev activation leads only to adding this binary to the rootfs
tree. What about starting script? Would it make sense to create
/etc/init.d/S1mdev with the following content:

#!/bin/sh
#
# Start the mdev....
#

case "$1" in
  start)
        echo "Starting mdev..."
        echo /sbin/mdev > /proc/sys/kernel/hotplug
        /sbin/mdev -s
        ;;
  stop)
.......

echo /sbin/mdev > /proc/sys/kernel/hotplug - only if such an option
selected. fstab should be also changed to have

tmpfs           /dev           tmpfs    size=1M          0      0

added. (The size should be much smaller, this is only for testing)

What do you think about this?

Regards,
Yegor

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

end of thread, other threads:[~2010-09-10  7:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 14:07 [Buildroot] mdev handling Yegor Yefremov
2010-09-08 14:22 ` William Wagner
2010-09-08 14:29 ` Peter Korsgaard
2010-09-08 14:48   ` Yann E. MORIN
2010-09-08 15:07     ` Peter Korsgaard
2010-09-09  9:01   ` Yegor Yefremov
2010-09-09 10:19     ` Thomas Petazzoni
2010-09-09 10:38       ` Yegor Yefremov
2010-09-09 12:00         ` Thomas Petazzoni
2010-09-09 12:48           ` Yegor Yefremov
2010-09-10  7:40       ` Yegor Yefremov
2010-09-10  7:51         ` Peter Korsgaard

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