[Internal testing communication] deepin v25到底是怎么挂载系统的?
Tofloor
poster avatar
观察者
deepin
2025-01-20 11:15
Author

用qemu kvm全盘100G安装了deepin v25,看到分区方案是:1,ext4 /boot 1.5,2,swap 3.3G , 3, /sysroot 23G,4扩展分分区,5,/root /home /var /persistent 72.2G

查看/etc/fstab 里并没有 挂载 /var ,var 到底是怎么挂载的 ,ostree 看的迷迷糊糊,小白求教,谢谢!

Reply Favorite View the author
All Replies
waittingsummer
deepin
2025-01-20 11:38
#1

不管别的地方怎么叫,在deepinV25里

系统盘是/osroot

数据盘是/、/root等

绝绝子

Reply View the author
璀璨星空
deepin
2025-01-20 12:01
#2

方便把fstab发一份吗

Reply View the author
186******48
deepin
2025-01-20 12:26
#3
终端运行mount看看根目录挂载在哪里?
 
overlay on / type overlay (rw,relatime,lowerdir=/root/ostree/deploy/deepin/deploy/ca7c1ec0a3fa9cbd9c7c7745236065e58179bd9c495729f9c6ea19e648fff160.0,upperdir=/root/persistent/ostree/deploy/deepin/deploy/357de16a08a2d6dc25f69cc5f809c41c1f5a15a104419a84818c80a97c7164b5.0,workdir=/root/persistent/overlay/work,uuid=null)
 
overlay on /usr type overlay (ro,relatime,lowerdir=/root/ostree/deploy/deepin/deploy/ca7c1ec0a3fa9cbd9c7c7745236065e58179bd9c495729f9c6ea19e648fff160.0,upperdir=/root/persistent/ostree/deploy/deepin/deploy/357de16a08a2d6dc25f69cc5f809c41c1f5a15a104419a84818c80a97c7164b5.0,workdir=/root/persistent/overlay/work,uuid=null)
 
 
fstab中:
/persistent/root /root none defaults,bind 0 0
 
推断下系统目录在/persistent/ostree目录里找找来看:
/persistent/ostree/deploy/deepin/deploy这个目录有两个目录都是系统的真是目录,一个是根目录,一个是usr目录
Reply View the author
玄圭SwenGway
deepin
2025-01-20 12:50
#4

使用不带任何参数的df命令查看

Reply View the author