명령줄에서 암호화된 Linux 디스크를 안전하게 재부팅하는 방법은 무엇입니까?

명령줄에서 암호화된 Linux 디스크를 안전하게 재부팅하는 방법은 무엇입니까?

나는 그것을 힘들게 배웠다

sudo reboot

잘못된 시간에 하드 디스크에 머리를 부딪힐 수 있는 좋은 방법입니다.

암호화된 LUKS에서 실행 중인 Ubuntu를 재부팅하여 알고 있는 프로세스를 수동으로 "종료"하는 유일한 안전한 방법입니까? 이 경우에 ''' sudo safe-reboot''' 명령이 있습니까?

답변1

예, 있습니다 /sbin/shutdown. 읽으면 man shutdown재부팅하거나 중지하는 데 사용할 수 있습니다. man shutdown부분적으로는 다음을 참조하세요 .

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.

관련 정보