DragonFly kernel List (threaded) for 2007-07
DragonFly BSD
DragonFly kernel List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: add error message for vkernel started with vm.vkernel_enable=0


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Jul 2007 10:15:43 -0700 (PDT)

:I'd like to add something like the attached patch to the vkernel to
:let the user know that vm.vkernel_enable = 0.  I spent quite a while
:today chasing down why mmap() was failing before remembering that I
:needed to turn vm.vkernel_enable on.
:
:Joe

    That's fine, but adjust the sysctl to only read the variable, not
    set it also (pass NULL for the newp argument to sysctlbyname).

						-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]