Creating device files is /dev
I want to build a root file system from scratch for an x86 embedded target.
What is the best way of creating the files in /dev (e.g tty0,console) ? My target has one compact flash disk (hda ?) which is divided into 2 partitions. Should I manually create hda, hda1, hda2 ? Thanks. |
busybox mdev command
I started by Googling for populating /dev embedded and followed a couple links, and ended up at the busybox website (HERE). Based on my reading, it looks like busybox's mdev command is a popular method for creating the /dev nodes during boot of an embedded device. I haven't done this myself; I just did a bit of searching to try to help you out, so I don't know that this is the *best* way, but it's *one* way; my apologies if this is not what you're looking for ;)
from the busybox command help page: Quote:
|
All times are GMT -5. The time now is 01:07 PM. |