tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: Device node creation when major number is dynamically allocated



> But doesn't mknod automagically know the driver's major number from
> its name? I always used to do:
> 
> mknod /dev/foo0 c foo 0
> 
> And 'foo' got automatically resolved to the proper major number.
> Does that work for modules too?

oh, it should!

i forgot about this.  nice.

(it uses kern.drivers :-)


.mrg.


Home | Main Index | Thread Index | Old Index