From: duane@magma.uucp (Andrew Duane USG)
Subject: Re: how to change default val for udp_ttl?
Date: 19 Dec 2000 16:52:55 GMT [thread overview]
Message-ID: <91o3p7$79e9$1@lead.zk3.dec.com> (raw)
In-Reply-To: 91nbdn$sie$1@mailint03.im.hou.compaq.com
WHOA!
The last reply, from Frank at mailint03.im.hou.compaq.com is quite
detailed, but unfortunately mostly wrong.
Whether a subsystem is static or dynamic (as reported by sysconfig -m)
has nothing whatsoever to do with how you set variables in sysconfigtab
and whether a new kernel needs to be built or not. The sysconfigtab was
developed exactly so that kernels did not need to be rebuilt just to
change variables.
First, the ONLY approved method to do so is with sysconfigdb. It is
HIGHLY NOT RECOMMENDED to edit /etc/sysconfigtab manually.
Next, whether a variable can be set at run time, or needs to have the
system rebooted (NOT rebuilt, just rebooted) depends on the variable.
To find out, use sysconfig -Q:
# sysconfig -Q inet udp_ttl
inet:
udp_ttl - type=INT op=CRQ min_val=0 max_val=255
#
This gives the type (INT = integer), the min and max values (0 and 255),
and the supported operations. CRQ means CONFIGURABLE (at boot time),
RECONFIGURABLE (at run time) and QUERYABLE.
So for this variable, the system does not even need to be rebooted for
the new value to take effect. As soon as you do:
# sysconfig -r inet udp_ttl=<newvalue>
the new value will be used. If it were only CQ, the system would have
to be rebooted to take effect.
All of this is detailed in the sysconfig man page. If you have any
more questions, feel free to email me.
--
Andrew L. Duane (JOT-7) duane@zk3.dec.com
Compaq Computer Corporation (603)-884-1294
110 Spit Brook Road
M/S ZKO3-3/U14
Nashua, NH 03062-2698
next prev parent reply other threads:[~2000-12-19 16:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-19 2:01 how to change default val for udp_ttl? Pui Ming WONG
2000-12-18 13:04 ` Tomasz Gąska
2000-12-19 9:31 ` meaden
2000-12-19 9:57 ` Frank
2000-12-19 16:52 ` Andrew Duane USG [this message]
2000-12-20 7:58 ` Frank
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox