Re: fun or real: proc interface for module handling?

From: Grant Miner (mine0057@mrs.umn.edu)
Date: Thu Jul 31 2003 - 18:59:37 EST


Cool idea! Maybe for each module, it could have a subdirectory to it
(like reiser4's files-as-directory (see
http://www.namesys.com/v4/pseudo.html)) and in that subdirectory are
files to configure the options. You take your module, module.ko, and
you want to set some options (before or after loading it). Maybe you
could do something like
echo "true" > module.ko/option for your module. Then you just
cp module.ko /proc/modules or whatever directory to insert?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:52 EST