From ccf0bdb5963bac10c2808e13b2c4e51227f6dacf Mon Sep 17 00:00:00 2001 From: PaoloJr <57420955+PaoloJr@users.noreply.github.com> Date: Sun, 18 Oct 2026 03:46:12 -0400 Subject: [PATCH] btrfs-property: add example (#24599) Co-authored-by: Ivan Baluta --- pages/linux/btrfs-property.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/btrfs-property.md b/pages/linux/btrfs-property.md index 93f414785e..46bbfcd34c 100644 --- a/pages/linux/btrfs-property.md +++ b/pages/linux/btrfs-property.md @@ -22,3 +22,7 @@ - Set the `compression` property for a given btrfs inode (either a file or directory): `sudo btrfs {{[p|property]}} {{[s|set]}} {{path/to/btrfs_inode}} compression {{zstd|zlib|lzo|none}}` + +- Set the `ro` (read-only) property for a given btrfs subvolume: + +`sudo btrfs {{[p|property]}} {{[s|set]}} {{path/to/btrfs_subvolume}} ro {{true|false}}`