您尚未登录。

公告

[通告] 本论坛迁移啦~请前往位于 https://forum.archlinuxcn.org/ 的新论坛。所有帖子和参与的用户都已经迁移。

您正在访问的是原 bbs.archlinuxcn.org 的静态存档。本页面的新地址位于 https://forum.archlinuxcn.org/t/topic/12266

#1 2022-09-17 23:05:52

fishbol
会员
注册时间: 2020-09-16
帖子: 44

这个没看懂

For /var automounting to work, the PARTUUID must match the SHA256 HMAC hash of the partition type UUID (4d21b016-b534-45c2-a9fb-5c16e091fd2d) keyed by the machine ID. The required PARTUUID can be obtained using:

$ systemd-id128 -u --app-specific=4d21b016-b534-45c2-a9fb-5c16e091fd2d machine-id

Note: systemd-id128(1) reads the machine ID from /etc/machine-id, this makes it impossible to know the needed PARTUUID before the system is installed.

========================
从archlinux上看的,想把/var设成独立分区,自动挂载,但是这段话没看明白,有人能说一下吗?

离线

#2 2022-09-18 09:50:57

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,397
个人网站

Re: 这个没看懂

这没什么好说的啊,就是字面意思。如果嫌解释得不够详细的话,看 https://systemd.io/DISCOVERABLE_PARTITIONS/ 。(如果你是英语不好的话,请自行借助工具学习。)

离线

#3 2022-09-18 19:36:13

fishbol
会员
注册时间: 2020-09-16
帖子: 44

Re: 这个没看懂

按照uefi规范,我的磁盘分区/,/boot,/home,swap,都可以自动挂载,不用往fstab写东西了,但是/usr,/var都还不行,要怎么搞呢?

离线

#4 2022-09-18 19:46:02

fishbol
会员
注册时间: 2020-09-16
帖子: 44

Re: 这个没看懂

XFS:attr2 mount option is deprecated。这个是什么意思?

离线

#5 2022-09-18 19:49:16

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,397
个人网站

Re: 这个没看懂

把 attr2 选项去掉就行了。

离线

页脚