major number leak with modules?

From: Bernd Walter <ticso_at_cicely12.cicely.de>
Date: Sun, 7 Dec 2003 18:40:00 +0100
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
Received on Sun Dec 07 2003 - 08:40:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC