[Seek Help] 如何把/opt文件迁移到别的位置,下次安装软件时也是其他位置
Tofloor
poster avatar
海阔天空lml
deepin
2023-01-17 05:10
Author

我在安装deepin的时候,我选择了全盘安装,但是由于我安装了很多软件,都在/opt文件里面,而这个文件又是在根目录,现在我的根目录已经只有两个GB,请问是否有方法,把/opt放在其他目录,以后安装软件也带其他目录,有这种方法吗?该怎么操作,在线等,很急

Reply Favorite View the author
All Replies
Ziggy
deepin
2023-01-17 05:23
#1

你仔细看fstab就知道了

Reply View the author
璀璨星空
deepin
2023-01-17 05:29
#2
Reply View the author
miaoaaa
deepin
2023-01-17 05:42
#3

全盘安装的时候,/opt和/home在同个分区

都在/data分区

/data/home /home none defaults,bind 0 0
/data/opt /opt none defaults,bind 0 0
/data/root /root none defaults,bind 0 0
/data/var /var none defaults,bind 0 0
Reply View the author
152******80
Advanced Packager
2023-01-17 18:03
#4

全盘安装的,只要你硬盘够大,随便装

Reply View the author
安洛
deepin
2023-01-17 18:12
#5

deepin的全盘安装,opt在数据盘不在系统盘。

Reply View the author
海阔天空lml
deepin
2023-01-18 02:20
#6
安洛

deepin的全盘安装,opt在数据盘不在系统盘。

在的,安装版本是20.7.1

Reply View the author
安洛
deepin
2023-01-18 18:20
#7
海阔天空lml

在的,安装版本是20.7.1

你发一下你的 lsblk或者 df -h结果看看?应该是不在的。

Reply View the author