Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Taylor, Grant" <gtaylor@riverviewtech.net>
To: netfilter@lists.netfilter.org
Subject: sysctl vs. echo > /proc...
Date: Tue, 31 May 2005 00:57:30 -0500	[thread overview]
Message-ID: <429BFCCA.9010505@riverviewtech.net> (raw)

Hey fellow TuX users out there, I have a question for you.

Does any one know the (technical) difference in using sysctl verses echoing values in to the appropriate areas in side of the /proc file system?  Which is the more current (expected in the future) practice?  Any ideas and / or thoughts on this matter would be greatly appreciated.  Consider this very simple and common example:

sysctl -w net.ipv4.ip_forward=1

verses 

echo "1" > /proc/sys/net/ipv4/ip_forward 



Grant. . . .


             reply	other threads:[~2005-05-31  5:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-31  5:57 Taylor, Grant [this message]
2005-05-31  8:24 ` sysctl vs. echo > /proc Robert Vangel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429BFCCA.9010505@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox