In article <pine.neb.4.64.1401191416060.22...@screamer.whooppee.com>, Paul Goyette <p...@whooppee.com> wrote: >On Sun, 19 Jan 2014, John Nemeth wrote: > >> } Handled indirectly. The MODULE_CMD_FINI calls config_cfdata_detach() >> } which attempts to detach each device instance. If a detach fails, then >> } config_cfdata_detach fails, and the unload will fail. >> >> Does this mean that you'll end up with some device instances >> detached and not others? > >Nope. > >All non-zero units are prevented from unload. And unit zero is >permitted only if there are no references, ie no clones.
I don't see why non-zero units are special, can you explain? Open zero open 1, close 0, close 1. Should the close 1 unload? christos