Re: Working on better kerneld...

David Woodhouse (dwmw2@cam.ac.uk)
Sun, 07 Dec 1997 16:58:48 +0000


root@jennifer-unix.dyn.ml.org said:
> 5) My current design is this:
> 1) In the kernel, change from sending a text of "char-major-foo", send
> "char-major-foo-minor-bar". Same for block devices
> 2) In kerneld, first attempt to load the exact module passed from the
> kernel. If that dosn't work, remove any "-minor-bar" suffix, and try
> loading that. If _that_ dosn't work, report error back to the kernel
> (if applicable).

Sounds good to me - I could have done with it the other day when I was trying
to fix sound module autoloading.

While you're at it - d'you fancy adding support for storing module parameters
while they're unloaded - for example storing sound mixer levels so that
they're not all reset when the module is unloaded and reloaded?

-- 
----                              ----                              ----
David Woodhouse, Robinson College, CB3 9AN, England.   (+44) 0976 658355
	dwmw2@cam.ac.uk		http://dwmw2.robinson.cam.ac.uk
	    finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.