VT paramter doesn't take effect - global_cursor_default

Woody Wu narkewoody at gmail.com
Sat Aug 17 04:26:49 EDT 2013


On Fri, Aug 16, 2013 at 08:53:22AM -0400, Valdis.Kletnieks at vt.edu wrote:
> On Fri, 16 Aug 2013 13:43:19 +0800, Woody Wu said:
> 
> > I was trying to set a module parameter for vt.c, I set it in command
> > line as "global_cursor_default=0".  After that, I debug the kernel by
> > printing and check the /sys/modules/vt/parameters/global_cursor_default,
> > all found the parameter did not take effect. The corresponding static
> > variable is still keep its default value of -1.
> >
> > What's wrong with my operations?
> 
> Module parameters have to be specified as  modulename.parametername=foo.
> 
> Try this instead:     vt.global_cursor_default=0

I also found the reason, exactly as you said.  Thanks a lot!

-- 
I can't go back to yesterday - because I was a different person then



More information about the Kernelnewbies mailing list