kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* using sysctl.conf for module that initialize in early bootup
@ 2016-08-05  9:22 Pankaj Gupta
  2016-08-05 10:28 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Gupta @ 2016-08-05  9:22 UTC (permalink / raw)
  To: kernelnewbies

Dear All,

I am trying to introduce a flag which controls probe of a driver that
initialize in device_initcall(). I want to use a flag, if the flag is true
driver will be initialed and if its false then probe will return without
registering the driver. The value of flag can be changed at runtime and
that should persist after reboot.

I have searched and found about using /etc/sysctl.conf for this purpose. I
observed that /etc is not mounted on system when device_initcall()
executes.

is there any other way by which i can implement this feature?

Thanks & Regards,

*Pankaj Gupta*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160805/285c35d9/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-05 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05  9:22 using sysctl.conf for module that initialize in early bootup Pankaj Gupta
2016-08-05 10:28 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).