major number leak with modules?
Bernd Walter
ticso at cicely12.cicely.de
Sun Dec 7 09:40:12 PST 2003
The situation was the following during driver development.
It's an USB driver and kldload'ed.
A plugged in device got major 247 for the nodes it created.
On unplugging the nodes were destroyed.
kldunloading the driver and kldloading the next revision created
nodes with major 246 for new devices.
Do we have a leak with major numbers or is the old major number free
after last destroy_dev and assigning algorithm just took the next.
--
B.Walter BWCT http://www.bwct.de
ticso at bwct.de info at bwct.de
More information about the freebsd-current
mailing list