[Buildroot] Where is /dev/console created when using devtmpfs?

Steve Kenton skenton at ou.edu
Wed Mar 25 17:44:58 UTC 2015

I'm currently running with devtmpfs only but am looking into using mdev
so I spent some time looking at my device usage and for the life of me
I can't find where /dev/console gets created during the build process.
Looking at the root filesystem when it's not running shows this in /dev

drwxrwxr-x 2 root root 4096 Mar  1 15:26 pts
lrwxrwxrwx 1 root root   10 Mar  1 15:26 log -> ../tmp/log
crw--w--w- 1 root root 5, 1 Mar 22 21:52 console

and I see that pts and log come from the skeleton but I can't find console.
I'm running an x86_64 system using the default vga console if that matters.
I'm obviously missing something but I can't find a mknod or mkdevs for it.

Where is /dev/console created when using devtmpfs?



More information about the buildroot mailing list