btrfs-version
Show btrfs filesystem version information
TLDR
Display help
Display btrfs-progs version
SYNOPSIS
btrfs-version
DESCRIPTION
The `btrfs-version` command displays the version information of the `btrfs` filesystem utilities. This includes the `btrfs-progs` package version. This information is critical for debugging, reporting issues, and ensuring compatibility between the utilities and the kernel module. The output typically includes the `btrfs-progs` version, which is the version of the userspace tools, along with other relevant build-related details. Knowing the precise version can help determine if a specific feature is available or if a known bug has been fixed in a particular release. The displayed version information is derived from the build process and typically reflects the version of the source code used to compile the `btrfs-progs` package.
EXIT STATUS
The command returns 0 on success and a non-zero value on failure. A failure usually means the btrfs tools are not correctly installed or there is an error accessing the required information.
EXAMPLE
Running btrfs-version will simply output the version string. For example:
btrfs-progs v5.16.2
HISTORY
The `btrfs-version` command has been part of the `btrfs-progs` package since its inception. It provides a straightforward way to identify the version of the btrfs userspace tools being used. Its main purpose is to help administrators understand which features are available or bugs are present given that each version of the btrfs tool suite is associated to a specific set of features and fixes.
SEE ALSO
mkfs.btrfs(8), btrfs(8), btrfs-check(8)