Device file creation

► Device files are not created when a driver is loaded.

► They have to be created in advance:

mknod /dev/<device> [c|b] <major> <minor>

mknod /dev/ttyS0 c 4 64 mknod /dev/hdal b 3 1

Embedded Linux kernel and driver development

© Copyright 2006-2004, Michael Opdenacker Creative Commons Attribution-ShareAlike 2.0 license

Was this article helpful?

0 0

Post a comment