I'm developing a Jetson-based HUD that reboots very quickly. During the reboot process, I noticed that it takes about 10 seconds (relatively long) just to shut down the OS when using the "reboot" command. Since I need an OS that can reboot within approximately 10 seconds, achieving my goal is not possible with a 10-second shutdown alone. Therefore, instead of the reboot
command, I tried rebooting using the command sudo echo b > /proc/sysrq-trigger
, which immediately performs the reboot without any noticeable processing time. Based on my research, I found that this method does not involve synchronizing the file system or unmounting it.
Could implementing the OS reboot functionality in this way pose a risk of serious errors or bugs in the system?
Would using the sudo echo b > /proc/sysrq-trigger
command periodically cause significant issues for the system?