[CentOS] /dev/console not getting created...

Will McDonald wmcdonald at gmail.com
Wed Mar 15 20:04:06 UTC 2006

On 15/03/06, Will McDonald <wmcdonald at gmail.com> wrote:
> On 15/03/06, James Olin Oden <james.oden at gmail.com> wrote:
> > OK, I've done some more research on my own, and it would appear that a
> > non-udev /dev/console and /dev/null must exist before udev is started,
> > because udev is started in "user" land (thus u-dev), and thus before
> > init starts.  So init needs these device files to exist a priori.
> >
> > The question that still remains is why are they not showing up with my
> > custom package set?  Who is repsonsible for creating the a priori
> > /dev/console that init uses, and what would prevent that from
> > occuring?
> What packages are installed/removed by your minimal Kickstart? Might
> be useful to sort and diff that list against a default, unmolested
> minimal install.

Further checking, there's a mknod /dev/console called in initrd.

[root at stella tmp]# cd /tmp/; mkdir initrd; cp /boot/initrd-`uname
-r`.img /tmp/initrd/initrd.gz; gunzip /tmp/initrd/initrd.gz; cd
/tmp/initrd; cpio -cid -I /tmp/initrd/initrd; grep /dev/console
4114 blocks
mknod /dev/console c 5 1


More information about the CentOS mailing list