tech-kern archive

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

Re: Finding the slot in the ioconf table a module attaches to?



> Usually your user program would attempt to open xyz0 which would find
> the major/minor in th devsw tables.  You're relying on a hard coded
> major.  That's the difference.

Okay, I'm probably exposing my ignorance of something here, but, what's
the difference?  You still have to get the major number, whether chosen
at module load time or chosen at kernel build time, into the /dev/xyz0
special file in the filesystem.  That requires exfiltrating it from the
kernel *somehow*....

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index