From mboxrd@z Thu Jan 1 00:00:00 1970 From: simonleung@gmx.com (Simon Leung) Date: Wed, 18 Jan 2012 16:04:52 +0000 Subject: kernel module parameter In-Reply-To: References: <4F16E33F.6000105@gmx.com> <4F16E54E.2090804@gmx.com> Message-ID: <4F16EDA4.8010106@gmx.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org My kernel is 2.6.21. I can see /sys/modules/... but there is no parameter directory. Thanks, On 18/01/12 15:40, Manohar Vanga wrote: > Hey Simon, > > I found this: http://lwn.net/Articles/85654/ > Does that help? > > On Wed, Jan 18, 2012 at 4:29 PM, Simon Leung > wrote: > > Thanks. When was this interface introduced? I can't find it on my > system but my kernel is a bit old. > > > > On 18/01/12 15:26, Manohar Vanga wrote: > > $ ls /sys/module/MODULE_NAME/parameters/ > > > On Wed, Jan 18, 2012 at 4:20 PM, Simon Leung > > >> wrote: > > Hi all, > > Is there a way to find out what parameters were used when > loading the > kernel module. E.g. After loading the driver with 'insmode > foo.ko > param1=bla'. How can find out later on about those parameter? > > > Thanks, > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > > > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > -- > /manohar > > > > > > -- > /manohar > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies