Re: Module Configuration

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

 



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 ?

				- 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