On 02/25/2015 03:04 PM, Josh Boyer wrote:
> On Wed, Feb 25, 2015 at 8:54 AM, Ali AlipourR <alipoo...@gmail.com> wrote:
>> Hi,
>>
>> Why sysrq is limited to only "sync" command on official fedora kernel?
> 
> The kernel itself isn't limited.  It's just set that way in
> /usr/lib/sysctl.d/50-default.conf which is provided by systemd.  You
> can edit that file,

The file in /usr will be overwritten by the next package update.

> create your own in /etc/sysctl.d/,

Yes, local configuration belongs to /etc.
See also "man sysctl.d".

> or (as root) set it to whatever you would like via /proc/sys/kernel/sysrq.

Or pass "sysrq_always_enabled" on the kernel command line.

        sysrq_always_enabled
                        [KNL]
                        Ignore sysrq setting - this boot parameter will
                        neutralize any effect of /proc/sys/kernel/sysrq.
                        Useful for debugging.

Michal

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to