- 论坛徽章:
- 0
|
回复 15# chenyx
巧了,刚刚在装Oracle的时候,看到关于/tmp的描述
In Fedora 20 /tmp data is stored on tmpfs which consumes memory and is too small.
To revert it back to storage just run following command and REBOOT machine to be effective.
systemctl mask tmp.mount
只不过不明白这个 systemctl mask tmp.mount 是什么意思,按描述,命令的行为是把/tmp空间从内存转回硬盘存储,不过,那个mask 以及tmp.mount分别怎么理解呢?
systemctl的man page有关于mask的描述
mask NAME...
Mask one or more unit files, as specified on the command line. This will link these
units to /dev/null, making it impossible to start them. This is a stronger version of
disable, since it prohibits all kinds of activation of the unit, including manual
activation. Use this option with care. This honors the --runtime option, to only mask
temporarily until the next reoobt of the system.
那么那个tmp.mount从哪来的呢?是系统变量还是什么东西(从意思上看tmp.mount是代表系统的/tmp挂载点),从哪找关于它的描述呢? |
|