{
    "content": [
        {
            "type": "text",
            "text": "# BTRFS-PROPERTY (info)\n\n## NAME\n\nbtrfs-property - get/set/list properties for given filesystem object\n\n## SYNOPSIS\n\nbtrfs property <subcommand> <args>\n\n## DESCRIPTION\n\nbtrfs property is used to get/set/list property for given filesystem\nobject. The object can be an inode (file or directory), subvolume or\nthe whole filesystem. See the description of get subcommand for more\ninformation about both btrfs object and property.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SUBCOMMAND**\n- **EXIT STATUS**\n- **AVAILABILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "BTRFS-PROPERTY",
        "section": "",
        "mode": "info",
        "summary": "btrfs-property - get/set/list properties for given filesystem object",
        "synopsis": "btrfs property <subcommand> <args>",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mkfs.btrfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.btrfs/8/json"
            },
            {
                "name": "lsattr",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/lsattr/1/json"
            },
            {
                "name": "chattr",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/chattr/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SUBCOMMAND",
                "lines": 53,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "btrfs-property - get/set/list properties for given filesystem object\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "btrfs property <subcommand> <args>\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "btrfs property is used to get/set/list property for given filesystem\nobject. The object can be an inode (file or directory), subvolume or\nthe whole filesystem. See the description of get subcommand for more\ninformation about both btrfs object and property.\n\nbtrfs property provides an unified and user-friendly method to tune\ndifferent btrfs properties instead of using the traditional method like\nchattr(1) or lsattr(1).\n",
                "subsections": []
            },
            "SUBCOMMAND": {
                "content": "get [-t <type>] <object> [<name>]\nget property from a btrfs <object> of given <type>\n\nA btrfs object, which is set by <object>, can be a btrfs filesystem\nitself, a btrfs subvolume, an inode (file or directory) inside\nbtrfs, or a device on which a btrfs exists.\n\nThe option -t can be used to explicitly specify what type of object\nyou meant. This is only needed when a property could be set for\nmore then one object type.\n\nPossible types are s[ubvol], f[ilesystem], i[node] and d[evice],\nwhere the first lettes is a shortcut.\n\nSet the name of property by name. If no name is specified, all\nproperties for the given object are printed.  name is one of the\nfollowing:\n\nro\nread-only flag of subvolume: true or false. Please also see\nsection SUBVOLUME FLAGS in btrfs-subvolume(8) for possible\nimplications regarding incremental send.\n\nlabel\nlabel of the filesystem. For an unmounted filesystem, provide a\npath to a block device as object. For a mounted filesystem,\nspecify a mount point.\n\ncompression\ncompression algorithm set for an inode, possible values: lzo,\nzlib, zstd. To disable compression use \"\" (empty string), no or\nnone.\n\nlist [-t <type>] <object>\nLists available properties with their descriptions for the given\nobject.\n\nSee the description of get subcommand for the meaning of each\noption.\n\nset [-f] [-t <type>] <object> <name> <value>\nSets a property on a btrfs object.\n\nSee the description of get subcommand for the meaning of each\noption.\n\nOptions\n\n-f\nForce the change. Changing some properties may involve safety\nchecks or additional changes that depend on the properties\nsemantics.\n",
                "subsections": []
            },
            "EXIT STATUS": {
                "content": "btrfs property returns a zero exit status if it succeeds. Non zero is\nreturned in case of failure.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "btrfs is part of btrfs-progs. Please refer to the btrfs wiki\nhttp://btrfs.wiki.kernel.org for further details.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mkfs.btrfs(8), lsattr(1), chattr(1)\n\nBtrfs v5.16.2                     02/16/2022                 BTRFS-PROPERTY(8)",
                "subsections": []
            }
        }
    }
}