He aprendido por las malas que
sudo reboot
en el momento equivocado es una excelente manera de que le golpeen la cabeza contra el disco duro.
¿La única forma segura de reiniciar Ubuntu ejecutándose en LUKS cifrados es "eliminar" manualmente todos los procesos que conoce? ¿Existe un comando '''sudo safe-reboot''' para este caso?
Respuesta1
Sí hay /sbin/shutdown
. Lea man shutdown
y podrá usarlo para reiniciar o detener. Ver man shutdown
, que dice, en parte:
trusty (8) shutdown.8.gz
Provided by: upstart_1.12.1-0ubuntu4_i386 bug
NAME
shutdown - bring the system down
SYNOPSIS
shutdown [OPTION]... TIME [MESSAGE]
DESCRIPTION
shutdown arranges for the system to be brought down in a safe way. All
logged-in users are notified that the system is going down and, within
the last five minutes of TIME, new logins are prevented.