On Tue, Jul 12, 2005 at 08:10:38PM +0200, Christophe Lucas wrote: > Can Sar (csar@xxxxxxxxxxxx) wrote: > > Hi, > > > > I am trying to write a module that gets loaded into the kernel early during > > the boot process, and it needs to be configured with some configurations > > every time. What would be the best way to initialize it? I know that > > reading from a file from a module is frowned upon, but can I have a user > > level helper process early during boot (to read the file and then feed it > > in through ioctl, etc.)? > > Any other methods anyone could think of? > > Could not you use /proc to deal with your user configuration ? /proc is not for user configuration. Use module parameters and /sys/module/MODULE_NAME/parameters for module configuration. thanks, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/