- filesystem check; fsck
- 리눅스 파일시스템 점검 프로그램
1 VM에서 실행 금지
- VM에서 실행하면 파일시스템이 깨지므로 실행 금지
- 실행 못하도록 미리 막아두자.
Bash
Copy
mv /sbin/fsck /sbin/fsck.do_not_execute_me
- 실행예시
bat
Copy
[root@jmnote ~]# which fsck
/sbin/fsck
[root@jmnote ~]# mv /sbin/fsck /sbin/fsck.do_not_execute_me
mv: cannot stat `/sbin/fsck': No such file or directory
[root@jmnote ~]# which fsck
/usr/bin/which: no fsck in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)