Operating System - HP-UX
1748123 Members
3246 Online
108758 Solutions
New Discussion юеВ

Re: what is difference of kconfig(5) and kconfig(1M)?

 
anonys
Advisor

what is difference of kconfig(5) and kconfig(1M)?

what is difference of kconfig(5) and kconfig(1M)?
6 REPLIES 6
Ivan Krastev
Honored Contributor

Re: what is difference of kconfig(5) and kconfig(1M)?

See different man sections exmplained - http://docs.hp.com/en/B3921-90010/introduction.9.html

regards,
ivan
James R. Ferguson
Acclaimed Contributor

Re: what is difference of kconfig(5) and kconfig(1M)?

Hi:

And now that you understand what the various manpages sections contain, I presume that you are aware that you can select the section you want by doing:

# man 5 kconfig

...to select section-5 instead of the default order yielding '1M' first in this case:

# man kconfig

I hope, too, that you have used 'catman -w' or 'catman -m' to create the 'whatis' manpage database. See the manpages for 'catman'. The 'whatis' database allows you to do keyword searches. For example:

# man -k kconfig
ckconfig(1) - verify the path names of all the FTP configuration files.
kconfig(1M) - manage kernel configurations
kconfig(5) - introduction to kernel configuration commands

...or:

# man -k kernel
# man -k driver

Regards!

...JRF...
anonys
Advisor

Re: what is difference of kconfig(5) and kconfig(1M)?

-bash-3.2# catman -w
-bash-3.2# catman -m
Macro argument too long.
-bash-3.2#
Venkatesh BL
Honored Contributor

Re: what is difference of kconfig(5) and kconfig(1M)?

kconfig (5) - introduction to kernel configuration commands.
This gives general intro about kernel config.
This can be used to understand how configuration works.

kconfig (1m) - manage kernel configurations.
This gives info about the various options used in the 'kconfig' command itself. This would be the actual command options sysadmin would be required to know/use.
James R. Ferguson
Acclaimed Contributor

Re: what is difference of kconfig(5) and kconfig(1M)?

Hi:

With regard to the failure you experienced running 'catman', try running it in the standard HP-UX Posix shell environment. At your Bash prompt type:

# /usr/bin/sh
# catman -w
# exit

...or if you prefer, simply create a small Posix shell and run it:

# cat wrapper
#!/usr/bin/sh
catman -w

...then:

# ./wrapper

By the way, I hope that you have not changed the default shell for 'root' to be anything other than '/sbin/sh'. If you have, you have a recipe for an system that will not boot properly.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: what is difference of kconfig(5) and kconfig(1M)?

>JRF: try running it in the standard HP-UX Posix shell environment

I also thought of mentioning using a real shell but I didn't see why bash would give that error and assumed it was some issue in catman(1m).

>At your Bash prompt type:
# /usr/bin/sh
# catman -w

You could also use: sh -c "catman -w"