File: sysfs-kernel-reboot

package info (click to toggle)
linux 6.16.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,724,600 kB
  • sloc: ansic: 26,562,026; asm: 271,344; sh: 144,033; python: 72,469; makefile: 57,130; perl: 36,821; xml: 19,553; cpp: 5,820; yacc: 4,915; lex: 2,955; awk: 1,667; sed: 28; ruby: 25
file content (40 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
What:		/sys/kernel/reboot
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <teknoraver@meta.com>
Description:	Interface to set the kernel reboot behavior, similarly to
		what can be done via the reboot= cmdline option.
		(see Documentation/admin-guide/kernel-parameters.txt)

What:		/sys/kernel/reboot/mode
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <teknoraver@meta.com>
Description:	Reboot mode. Valid values are: cold warm hard soft gpio

What:		/sys/kernel/reboot/type
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <teknoraver@meta.com>
Description:	Reboot type. Valid values are: bios acpi kbd triple efi pci

What:		/sys/kernel/reboot/cpu
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <teknoraver@meta.com>
Description:	CPU number to use to reboot.

What:		/sys/kernel/reboot/force
Date:		November 2020
KernelVersion:	5.11
Contact:	Matteo Croce <teknoraver@meta.com>
Description:	Don't wait for any other CPUs on reboot and
		avoid anything that could hang.

What:		/sys/kernel/reboot/hw_protection
Date:		April 2025
KernelVersion:	6.15
Contact:	Ahmad Fatoum <a.fatoum@pengutronix.de>
Description:	Hardware protection action taken on critical events like
		overtemperature or imminent voltage loss.
		Valid values are: reboot shutdown