https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286306

Mark Johnston <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|New                         |Open

--- Comment #1 from Mark Johnston <[email protected]> ---
I don't think this is really practical -- sysctls don't record their default
values anywhere, and changing them to do so would be quite complex and require
extra memory for each sysctl node.

One idea which might be close enough would be to have a "dirty" flag for
sysctls which have been modified at some point, e.g., via the command line or
sysctl(8) or a tunable.  So you could at least see that the sysctl was modified
at some point.  But even this might be quite difficult to define--what if the
default value of a sysctl depends on another sysctl's value, and that sysctl
was modified.

Do you have some specific scenario where this would be useful?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to