Re: Module Configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg KH (greg@xxxxxxxxx) wrote:
> 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.

Yeah :)
I read this mail so quickly and said ugly mistakes. I have correct it in
private.

				- Christophe (clucas@xxxxxxxxxxxxx)

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux