Question about "sysctl"


Does it make a difference if in the file


I enter

for example

vm.dirty_ratio = 10



in the file?

Did a test, also:

sudo sysctl -w vm.dirty_ratio = 10

sysctl: "vm.dirty_ratio" must be of the form name=value
sysctl: malformed setting "="
sysctl: "10" must be of the form name=value

sudo sysctl -w vm.dirty_ratio=10

Output message:
vm.dirty_ratio = 10

It would be great if someone could enlighten me on this.

IMHO there is no any difference:


   sysctl.conf - sysctl preload/configuration file

   sysctl.conf is a simple file containing sysctl values to be read in and set
   by sysctl.  The syntax is simply as follows:

          # comment
          ; comment

          token = value

   Note that blank lines are ignored, and whitespace before and after a  token
   or value is ignored, although a value can contain whitespace within.  Lines
   which begin with a # or ; are considered comments and ignored.

   If a line begins with a single -, any attempts to set the value  that  fail
   will be ignored.