UOS的/tmp文件空间太小,怎么调整
Tofloor
poster avatar
zhoulang_rr
deepin
2020-10-20 23:53
Author
全盘安装的UOS,可是今天安装软件的时候发现提示/tmp空间太小。。。

Reply Favorite View the author
All Replies
zhoulang_rr
deepin
2020-10-20 23:59
#1
465G的磁盘,这个根目录只分到了15G。。。。   全盘安装不能让用户自己设置分区大小么
Reply View the author
SamLukeYes
deepin
2020-10-21 00:36
#2
/tmp 不是在硬盘上的,是在你内存里的。什么软件会那么吃 /tmp 的空间啊
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-21 00:43
#3
samlukeyes123 发表于 2020-10-20 16:36
/tmp 不是在硬盘上的,是在你内存里的。什么软件会那么吃 /tmp 的空间啊 ...

/tmp的确在硬盘上
Reply View the author
小小怪下士
deepin
2020-10-21 00:49
#4
https://bbs.deepin.org/post/204069
/tmp的确在硬盘上

请问deepin现在还有swap分区么,听说频繁对ssd写操作不太好
Reply View the author
SamLukeYes
deepin
2020-10-21 00:56
#5
Reply View the author
Eric Zha
deepin
2020-10-21 00:58
#6
我安装的时候就分了一个efi分区和一个/分区。没有分其他的了……
Reply View the author
Eric Zha
deepin
2020-10-21 00:58
#7
ericzha 发表于 2020-10-20 16:58
我安装的时候就分了一个efi分区和一个/分区。没有分其他的了……

感觉这样省事
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-10-21 01:09
#8
https://bbs.deepin.org/post/204069
https://wiki.archlinux.org/index.php/Tmpfs#Disable_automatic_mount
UOS 有什么特别的设定吗[confused ...

不好意思我记错了
Reply View the author
SamLukeYes
deepin
2020-10-21 01:21
#9
https://bbs.deepin.org/post/204069
不好意思我记错了

刚才我打开 UOS 的虚拟机看了一下,mount -l | grep tmp 竟然找不到 /tmp,然而 manjaro 可以
Reply View the author
zhoulang_rr
deepin
2020-10-21 01:52
#10
https://bbs.deepin.org/post/204069
/tmp 不是在硬盘上的,是在你内存里的。什么软件会那么吃 /tmp 的空间啊 ...

那如何扩展tmp大小,是自动的么
Reply View the author
zerofancy
deepin
2020-10-21 02:14
#11
https://bbs.deepin.org/post/204069
那如何扩展tmp大小,是自动的么

在/etc/fstab里面修改(只在ubuntu试过,不确定UOS啥情况)
Reply View the author
joo
deepin
2020-10-21 02:19
#12
如果/tmp不够,应该是某个软件不规范,如果比较大的临时文件应该放在/var/tmp
Reply View the author
joo
deepin
2020-10-21 02:29
#13
/tmp分配500m已有20年的历史了,一直都够用的,一直都是约定成俗(较小、清理速度快的临时文件放在/tmp,其他放在/var/tmp),如果安装某个不够反馈给这个软件的维护者。
Reply View the author
joo
deepin
2020-10-21 02:39
#14
/tmp从来都是默认分配500m大小,所以很多发行版用内存文件系统挂载/tmp,也即是/tmp用的是内存。
Reply View the author
zhoulang_rr
deepin
2020-10-21 15:34
#15
https://bbs.deepin.org/post/204069
如果/tmp不够,应该是某个软件不规范,如果比较大的临时文件应该放在/var/tmp ...

我擦。。 我已经重装系统,把/目录分了70个G。 因为全盘的15G太小了
Reply View the author
ghostry
deepin
2020-10-21 17:48
#16
搞个大内存,临时文件都扔内存去.

Reply View the author