[通告] 本论坛迁移啦~请前往位于 https://forum.archlinuxcn.org/ 的新论坛。所有帖子和参与的用户都已经迁移。
您正在访问的是原 bbs.archlinuxcn.org 的静态存档。本页面的新地址位于 https://forum.archlinuxcn.org/t/topic/12266。
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设成独立分区,自动挂载,但是这段话没看明白,有人能说一下吗?
离线
这没什么好说的啊,就是字面意思。如果嫌解释得不够详细的话,看 https://systemd.io/DISCOVERABLE_PARTITIONS/ 。(如果你是英语不好的话,请自行借助工具学习。)
离线
按照uefi规范,我的磁盘分区/,/boot,/home,swap,都可以自动挂载,不用往fstab写东西了,但是/usr,/var都还不行,要怎么搞呢?
离线
XFS:attr2 mount option is deprecated。这个是什么意思?
离线
把 attr2 选项去掉就行了。
离线