[brussels-dev] [networking-discuss] Brussels and ndd cleanup
Brian Utterback
brian.utterback at sun.com
Thu May 29 07:06:57 PDT 2008
Sowmini.Varadhan at Sun.COM wrote:
>
> I suspect that Prakash is suggesting that there is a perception
> that 'ndd -set /dev/ip ip_debug 10' is somehow safer than
> "echo 'ip_debug/W 0xa'|mdb -kw".
It is clearly safer to use ndd than "mdb -kw" in general. The ndd
command gives you a limited set of variables to change with type
checking and sanity checking. The mdb form allows you to write to any
variable, with no sanity checking of the range and type. Getting the
case wrong in the command could be a disaster. And I think that there
is a presumption that the set variables provided by ndd are at least
safe to change on a running system.
--
blu
There are two rules in life:
Rule 1- Don't tell people everything you know
----------------------------------------------------------------------
Brian Utterback - Solaris RPE, Sun Microsystems, Inc.
Ph:877-259-7345, Em:brian.utterback-at-ess-you-enn-dot-kom
More information about the brussels-dev
mailing list