哈希:49e3c256e4619c56acc09660bc3c49b68ec32c20
作者:Devin Teske <dteske@FreeBSD.org>
提交者:Devin Teske <dteske@FreeBSD.org>
提交时间:2026-10-19 03:06:48 +0800
提交信息:
bsdinstall: use the GPT label for swap in fstab
The GPT layout already labels the swap partition swapN, but fstab
named the disk device. That name changes when disks are added or
reordered, and swap does not come up until fstab is edited. Write
/dev/gpt/swapN instead, appending .eli when swap encryption is on.
Mirrored swap still uses /dev/mirror/swap, with the same suffix.
Submitted by: Wanpeng Qian <wanpengqian@gmail.com>
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D32936
Index of /FreeBSD-16-amd64/16.snap20261018230214/latest/