![/mnt 디렉토리를 삭제하는 것은 바람직하지 않습니다!](https://linux55.com/image/46480/%2Fmnt%20%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC%EB%A5%BC%20%EC%82%AD%EC%A0%9C%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9D%80%20%EB%B0%94%EB%9E%8C%EC%A7%81%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4!.png)
실수로 디렉토리를 삭제했습니다 /mnt
. 어떻게 복원하나요? 정확한 권한 등이 있습니까? ? ?
디렉토리가 비어 있습니다.
답변1
루트로 생성 /mnt
하고 다음을 수행합니다.
chmod 755 /mnt
답변2
예, 당신이 해야 할 일은 (루트로서) 하는 것뿐입니다.
mkdir /mnt
chmod 755 /mnt
마운트 지점이 제대로 작동하는지 확인하려면 chmod가 필요합니다.
답변3
TLDP에서:
This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run
이는 /mnt
다른 답변에서 설명한 대로 간단히 디렉토리를 만들 수 있음을 의미합니다. /mnt 아래에는 아무것도 설치되지 않고 비어 있으므로 걱정할 필요가 없습니다.