btrfs property
linux
Get, set, or list properties for a BTRFS filesystem object (files, directories, subvolumes, filesystems, or devices).
More info →Options (4)
booleanList available properties (and descriptions) for the given btrfs object
Example:
sudo btrfs {{[p|property]}} {{[l|list]}} {{path/to/btrfs_object}}booleanList available properties (and descriptions) for the given btrfs object
Example:
sudo btrfs {{[p|property]}} {{[l|list]}} {{path/to/btrfs_object}}booleanGet all properties for the given btrfs object
Example:
sudo btrfs {{[p|property]}} {{[g|get]}} {{path/to/btrfs_object}}booleanSet the `compression` property for a given btrfs inode (either a file or directory)
Example:
sudo btrfs {{[p|property]}} {{[s|set]}} {{path/to/btrfs_inode}} compression {{zstd|zlib|lzo|none}}Examples (5)
List available properties (and descriptions) for the given btrfs object
Get the `label` property for the given btrfs filesystem or device
Get all object type-specific properties for the given btrfs filesystem or device
made by @shridhargupta | data from tldr-pages