Skip to content

Commit

Permalink
Update linux-tips.zh-cn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn authored Dec 12, 2024
1 parent 8cc9aee commit b670aaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/post/linux-tips.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ $ sudo btrfs subvolume list /
<part>: Btrfs分区名
<name>: 子卷名称

### 挂载Btrfs子卷
```
mount -t btrfs -o subvol=[volname],defaults,compress=zstd /dev/disk/by-uuid/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /path/to/mount
```

### 挂载Btrfs子卷为交换区

```bash
Expand Down

0 comments on commit b670aaf

Please sign in to comment.