Show Table of Contents
4.3.2. 임시 저장 공간
Red Hat Enterprise Linux 7에서는 임시 파일 저장 시스템 (
tmpfs)에 대한 마운트 지점으로 /tmp를 사용할 수 있습니다.
이를 활성화하면 임시 저장소는 마운트된 파일 시스템으로 나타나지만 컨텐츠를 영구 저장 장치가 아닌 휘발성 메모리로 저장합니다. 메모리가 부족한 경우를 제외하고
/tmp에 있는 파일은 하드 드라이브에 저장되지 않습니다. 메모리가 부족한 경우 swap 공간이 사용됩니다. 즉 /tmp 컨텐츠는 재부팅을 통해 지속되지 않습니다.
이 기능을 사용하려면 다음 명령을 실행합니다:
# systemctl enable tmp.mount
이 기능을 사용하지 않으려면 다음 명령을 실행합니다:
# systemctl disable tmp.mount
Red Hat은 Red Hat Enterprise Linux 7에서 여러 종류의 임시 저장 공간에 다음을 사용할 것을 권장합니다.
- 데몬과 같이 권한이 있는 프로세스는
/run/processname을 사용하여 임시 데이터를 저장합니다. - 대량의 데이터를 저장하는 프로세스 또는 재부팅 후에도 지속적인 임시 데이터를 필요로 하는 프로세스는
/var/tmp를 사용합니다. - 기타 다른 프로세스는
/tmp를 사용하여 임시 데이터를 저장합니다.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.