Creating dev nodes from driver or via uevent?

From: Fabiano Sidler
Date: Wed Oct 15 2008 - 02:44:33 EST


Hi folks!

Probably a very basic question, but is it better to directly mknod from a
module's init funtion or to use the uevent/udev mechanism? If the latter,
are there good overviews, explanations and comprehensive code samples
especially for using udev, as well as how to package the userspace program
creating the nodes along with a driver?

Thank you for answering!
Greetings,
Fabiano
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/