Messages in this thread |  | | | Date | Sat, 5 Sep 1998 02:20:26 +0300 (IDT) | | From | Alon Ziv <> | | Subject | Re: Module Ideas: Persistence, PnP, and more... |
| |
On Fri, 4 Sep 1998, Helge Hafting wrote: > Alon Ziv <alonz@cs.Technion.AC.IL> said: > > >1. Persistence > > >One of the major pitfalls with current module support is that user > >settings are not saved between uses of a module. This includes both > >`initialization' settings (set using `parm=xxx' at insmod time) and > >runtime-tunable settings (such as sound volume). > > I see a possible problems here. What if I run > a module with 'parm=xxx', removes it, and then want to run it witout xxx? > Will I have to remember that I used 'xxx' last time and use > 'parm=no_xxx'? I may even not know that some previous user used the > module with 'parm=xxx' > This could get messy if 'xxx' is a powerful parameter.
My suggestion does not change direct usage of insmod / rmmod (in fact, as I said, maybe rmmod itself shouldn't change at all). It only changes the behavious when modules are loaded / unloaded automagically (kmod black magic), or when a bus manager comes into play (isapnp / pcmcia).
------------------------+--------------------------------------------- . __ | Phone: 03-5340753 (home), 03-9685882 (work) _| / | email: alonz@usa.net / | /_ Alon Ziv | smail: 33 Ha-Rama St., Ganey Tiqwah 55900 ------------------------+--------------------------------------------- <<<(((this place reserved for that ultra-wise oneliner I haven't found.)))>>>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html
|  |