On Mon, Mar 26, 2012 at 11:58:40AM +0000, YAMAMOTO Takashi wrote: > hi, > > > On Mar 25, 2012, at 10:35 PM, YAMAMOTO Takashi wrote: > > > >> hi, > >> > >> doesn't modctl/modload return some error which indicate the reason > >> of failure? > > > > EPERM which isn't really useful. > > then how about changing it so that it's more useful?
ENXIO seems appropriate. To add a sysctl to check for MODULAR/non-MODULAR seems unnecessarily complicated. Dave -- David Young dyo...@pobox.com Urbana, IL (217) 721-9981