Skip to contentSkip to conversation

why 2 Kernel command line and module option parsers

DISCUSSION Shen Feng 2 participants 3 messages Apr 15, 2008 – Apr 16, 2008

lore
Share & tools
lore

Shen Feng

author
#0 lore raw

Hello,

Now we get two Kernel command line and module option parsers, i.e. lib/cmdline.c
lib/parser.c

I think we'd better merge them into one and make a kernel option standard since the kernel options become more and more.

Shen Feng

#1 lore raw
Quoted 8 lines · Shen Feng

Hello,

Now we get two Kernel command line and module option parsers, i.e. lib/cmdline.c
lib/parser.c

I think we'd better merge them into one and make a kernel option standard since the kernel options become more and more.

Are you volunteering?

author
#2 lore raw

Chris Snook Wrote:

Quoted 7 lines
Quoted 6 lines · Shen Feng

Hello,

Now we get two Kernel command line and module option parsers, i.e. lib/cmdline.c
lib/parser.c

Quoted 7 lines
Quoted 3 lines

I think we'd better merge them into one and make a kernel option standard since
the kernel options become more and more.

Are you volunteering?

OK. I also found another parser in kernel/params.c.

I will try to supply a new parser and a kernel option standard as Documentation/kernel-parameter-parser.txt include/linux/kparser.h
lib/kparser.c

to replace
lib/cmdline.c
lib/parser.c
and part of kernel/params.c