Adding a device from a kernel module the udev way (pi, a device that prints out the value of pi)
Itseemsliketheinterfaceforcreatingmoduleshaschangedabit,andudevisthewaytogo.Hereisashort,quickanddirtymodulethatcreates/dev/piwithanonymousmajorandminorusingudev.Themodulecreatesthedevice(notthefile)