Date: Sun, 7 Dec 2003 18:40:00 +0100 From: Bernd Walter <ticso@cicely12.cicely.de> To: freebsd-current@freebsd.org Subject: major number leak with modules? Message-ID: <20031207173959.GE42518@cicely12.cicely.de>
next in thread | raw e-mail | index | archive | help
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@bwct.de info@bwct.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031207173959.GE42518>