From b670aafd30affda5cc350a3e41641979024ef5d9 Mon Sep 17 00:00:00 2001 From: iHsin Date: Thu, 12 Dec 2024 10:52:56 +0800 Subject: [PATCH] Update linux-tips.zh-cn.md --- content/post/linux-tips.zh-cn.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/post/linux-tips.zh-cn.md b/content/post/linux-tips.zh-cn.md index 167d1a3..8190413 100644 --- a/content/post/linux-tips.zh-cn.md +++ b/content/post/linux-tips.zh-cn.md @@ -22,6 +22,12 @@ $ sudo btrfs subvolume list / : Btrfs分区名 : 子卷名称 +### 挂载Btrfs子卷 +``` +mount -t btrfs -o subvol=[volname],defaults,compress=zstd /dev/disk/by-uuid/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /path/to/mount + +``` + ### 挂载Btrfs子卷为交换区 ```bash