[Internal testing communication] opt目录挂到其它盘/persistent/opt
Tofloor
poster avatar
xtcpl
deepin
2025-08-12 19:22
Author

/dev/sda4 LABEL=Roota

UUID=6dde9172-60de-4702-be13-5dab8af5feaa / ext4 rw,relatime 0 1

/dev/sdb2 LABEL=_dde_data

UUID=86a2528d-6f64-4c59-a5d5-3efc6f8eff55 /persistent ext4 rw,relatime 0 2

/dev/sda1

UUID=61B1-0A0D /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2

/persistent/home /home none defaults,bind 0 0
/persistent/root /root none defaults,bind 0 0
/persistent/opt /opt none defaults,bind 0 0

这个怎么没用,最下面的/persistent/opt映射不到/opt

image.png

Reply Favorite View the author
All Replies
iceyer
deepin
2025-08-12 20:38
#1

findmnt /opt看看实际挂载信息?

Reply View the author
zhaohui
deepin
Community Developer
2025-08-13 10:11
#2

这个可能是由于systemd的冲突处理机制导致的,在fstab挂载之前,/opt已经成为了磐石的挂载点,此时systemd可能就不会处理fstab里面的这个bind操作了。如果确实有这个需求,可以自己建一个开机自启的服务,用于bind挂载。

Reply View the author
xtcpl
deepin
2025-08-13 10:18
#3
zhaohui

这个可能是由于systemd的冲突处理机制导致的,在fstab挂载之前,/opt已经成为了磐石的挂载点,此时systemd可能就不会处理fstab里面的这个bind操作了。如果确实有这个需求,可以自己建一个开机自启的服务,用于bind挂载。

谢谢,再请问一下,treeland模式下鼠标垫能用,但没有箭头,这怎么解决?谢谢!

Reply View the author