Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Str Return BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Str If Call AttributeLoad NameLoad attr Str body Raise Call NameLoad SubscriptLoad NameLoad Index Str Return Dict Str SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore SubscriptLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad Slice Num body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign TupleStore NameStore NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str BoolOpOr BoolOpAnd CompareNotEq NameLoad Str NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Continue If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return Call NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Return Dict Str Str Str Str NameLoad UnaryOpNot SubscriptLoad NameLoad Index Str BoolOpOr SubscriptLoad NameLoad Index Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad If NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str orelse Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body If CompareEq NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad Break Assign NameStore Call NameLoad NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot SubscriptLoad NameLoad Index Str CompareIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Str If UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str BoolOpOr BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict For NameStore ListComp Call AttributeLoad NameLoad attr Str Str NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str NameLoad attr Str Num Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str SubscriptLoad NameLoad Index Num attr Str Str attr If CompareIn NameLoad ListLoad Str Str body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Str attr Str Assign SubscriptStore NameLoad Index Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Lambda arguments args NameParam defaults Call NameLoad ListLoad Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str attr Assign NameStore Dict Assign SubscriptStore NameLoad Index NameLoad Dict For NameStore ListLoad NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Str For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr attr Str If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict For NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str body If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call NameLoad NameLoad Num body If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str body If BoolOpAnd CompareEq NameLoad Str CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr BoolOpOr BoolOpAnd CompareIs Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareNotIn SubscriptLoad NameLoad Index Num Str CompareNotIn SubscriptLoad NameLoad Index Num Str Call AttributeLoad NameLoad attr Str Str SubscriptLoad SubscriptLoad NameLoad Slice Num Slice Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Dict Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Return Call AttributeLoad NameLoad attr SubscriptLoad Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot CompareIn SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Str Str Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore Call AttributeLoad SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad ListLoad Dict Str NameLoad Index Num attr Str If CompareEq NameLoad Str body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Dict Str Str Str Call NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Dict Str Str Str Str NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Call AttributeLoad Str attr NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Call AttributeLoad Str attr NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad attr attr orelse Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Call AttributeLoad Str attr NameLoad Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Str attr NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore ListLoad If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str For NameStore NameLoad body If CompareNotIn NameLoad Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad Call AttributeLoad Str attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad NameLoad orelse Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Dict If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call NameLoad NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Num If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpAnd NameLoad CompareNotIn NameLoad ListLoad Str Str Str Str Str Str Str Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BoolOpOr BoolOpAnd NameLoad Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body TryExcept body For TupleStore NameStore NameStore ListComp ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad Assign NameStore SubscriptLoad Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str BoolOpOr BoolOpAnd NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Str Return NameLoad decorator_list
N/A N/A 
Module for managing BTRFS file systems.
 __future__ absolute_import N/A os N/A re N/A uuid N/A logging N/A salt.utils N/A salt.utils.fsutils salt.exceptions CommandExecutionError N/A salt.ext.six six N/A log N/A N/A logging getLogger __name__ __virtual__ N/A N/A N/A N/A N/A 
    Only work on POSIX-like systems
     N/A N/A N/A N/A N/A N/A salt utils is_windows N/A N/A N/A __grains__ get kernel Linux N/A version N/A N/A N/A N/A N/A 
    Return BTRFS version.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.version
     N/A out N/A N/A __salt__ N/A cmd.run_all btrfs --version N/A N/A N/A out get stderr N/A N/A N/A CommandExecutionError N/A out N/A stderr N/A N/A version N/A N/A N/A N/A out N/A stdout split 1 N/A -1 N/A _parse_btrfs_info N/A N/A data N/A N/A N/A 
    Parse BTRFS device info data.
     N/A ret N/A N/A line N/A N/A line N/A line N/A N/A data split line N/A -1 N/A N/A N/A N/A line startswith Label: N/A N/A line N/A N/A re sub Label:\s+ line N/A N/A label uuid_ N/A N/A N/A tkn strip N/A tkn N/A N/A line split uuid: N/A N/A ret N/A label N/A N/A N/A label none label None N/A N/A ret N/A uuid uuid_ N/A N/A N/A N/A line startswith 	devid N/A N/A dev_data N/A N/A re split \s+ N/A N/A line strip N/A dev_id N/A dev_data N/A -1 N/A N/A ret N/A dev_id N/A device_id size used N/A dev_data N/A 1 N/A dev_data N/A 3 N/A dev_data N/A 5 N/A ret N/A info N/A N/A device N/A N/A N/A 
    Get BTRFS filesystem information.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.info /dev/sda1
     N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs filesystem show {0} format device N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A N/A _parse_btrfs_info N/A out N/A stdout N/A devices N/A N/A N/A N/A N/A 
    Get known BTRFS formatted devices on the system.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.devices
     N/A out N/A N/A __salt__ N/A cmd.run_all blkid -o export N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A N/A N/A N/A N/A salt utils fsutils _blkid_output N/A out N/A stdout fs_type btrfs N/A _defragment_mountpoint N/A N/A mountpoint N/A N/A N/A 
    Defragment only one BTRFS mountpoint.
     N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs filesystem defragment -f {0} format mountpoint N/A N/A mount_point passed log range mountpoint N/A N/A out N/A stderr N/A N/A out N/A stderr False False N/A defragment N/A N/A path N/A N/A N/A 
    Defragment mounted BTRFS filesystem.
    In order to defragment a filesystem, device should be properly mounted and writable.

    If passed a device name, then defragmented whole filesystem, mounted on in.
    If passed a moun tpoint of the filesystem, then only this mount point is defragmented.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.defragment /dev/sda1
        salt '*' btrfs.defragment /path/on/filesystem
     N/A is_device N/A N/A N/A N/A salt utils fsutils _is_device path N/A mounts N/A N/A N/A N/A salt utils fsutils _get_mounts btrfs N/A N/A is_device N/A N/A N/A mounts get path N/A N/A N/A CommandExecutionError N/A N/A Device "{0}" is not mounted format path N/A result N/A N/A is_device N/A N/A mount_point N/A mounts N/A path N/A N/A N/A N/A result append N/A _defragment_mountpoint N/A mount_point N/A mount_point N/A N/A is_mountpoint False N/A mountpoints N/A N/A six itervalues mounts N/A N/A mpnt mountpoints N/A N/A N/A path N/A mpnt N/A mount_point N/A N/A is_mountpoint True N/A N/A d_res N/A _defragment_mountpoint path N/A N/A N/A is_mountpoint N/A N/A d_res N/A passed N/A range ioctl not supported N/A d_res N/A log N/A N/A N/A d_res N/A log Range ioctl defragmentation is not supported in this kernel. N/A N/A is_mountpoint N/A N/A N/A d_res N/A mount_point False N/A N/A d_res N/A range N/A N/A N/A N/A N/A os path exists path path False N/A N/A N/A result append d_res N/A result N/A features N/A N/A N/A N/A N/A 
    List currently available BTRFS features.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.mkfs_features
     N/A out N/A N/A __salt__ N/A cmd.run_all mkfs.btrfs -O list-all N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A ret N/A N/A line N/A N/A N/A re sub \s+ line N/A line N/A N/A N/A out N/A stderr split N/A  -  line N/A N/A N/A option description N/A N/A line split  -  1 N/A N/A ret N/A option description N/A ret N/A _usage_overall N/A N/A raw N/A N/A N/A 
    Parse usage/overall.
     N/A data N/A N/A line N/A N/A N/A raw split N/A 1 N/A N/A keyset N/A N/A N/A item strip N/A item N/A N/A N/A N/A re sub \s+ line split : 1 N/A N/A item strip N/A N/A N/A len keyset 2 N/A N/A key N/A N/A N/A N/A N/A N/A re sub [()] N/A keyset N/A 0 replace _ lower N/A N/A key N/A free_estimated global_reserve N/A N/A subk N/A N/A N/A keyset N/A 1 split ( N/A N/A data N/A key N/A N/A N/A subk N/A 0 strip N/A subk N/A N/A N/A N/A N/A subk N/A 1 replace ) split :  N/A N/A data N/A N/A N/A {0}_{1} format key N/A subk N/A 0 N/A subk N/A 1 N/A N/A N/A data N/A key N/A keyset N/A 1 N/A data N/A _usage_specific N/A N/A raw N/A N/A N/A 
    Parse usage/specific.
     N/A get_key N/A N/A N/A val N/A N/A dict N/A N/A tuple N/A N/A val split : N/A raw N/A N/A raw split N/A N/A section size used N/A N/A N/A raw N/A 0 split N/A section N/A N/A N/A N/A N/A N/A section replace , _ replace : lower N/A data N/A N/A N/A data N/A section N/A N/A val N/A size used N/A N/A N/A N/A N/A data N/A section update N/A get_key N/A N/A val replace , N/A devices N/A raw N/A 1 N/A N/A N/A N/A N/A data N/A section update N/A get_key N/A N/A re sub \s+ : N/A N/A devices strip N/A data N/A _usage_unallocated N/A N/A raw N/A N/A N/A 
    Parse usage/unallocated.
     N/A ret N/A N/A line N/A N/A N/A raw split N/A 1 N/A N/A keyset N/A N/A N/A N/A re sub \s+ N/A N/A line strip split N/A N/A N/A len keyset 2 N/A N/A N/A ret N/A N/A keyset N/A 0 N/A keyset N/A 1 N/A ret N/A usage N/A N/A path N/A N/A N/A 
    Show in which disk the chunks are allocated.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.usage /your/mountpoint
     N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs filesystem usage {0} format path N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A ret N/A N/A section N/A N/A N/A out N/A stdout split N/A N/A N/A N/A section startswith Overall:
 N/A N/A N/A ret N/A overall N/A _usage_overall section N/A N/A N/A N/A section startswith Unallocated:
 N/A N/A N/A ret N/A unallocated N/A _usage_unallocated section N/A N/A N/A N/A ret update N/A _usage_specific section N/A ret N/A mkfs N/A N/A N/A devices kwargs N/A N/A 
    Create a file system on the specified device. By default wipes out with force.

    General options:

    * **allocsize**: Specify the BTRFS offset from the start of the device.
    * **bytecount**: Specify the size of the resultant filesystem.
    * **nodesize**: Node size.
    * **leafsize**: Specify the nodesize, the tree block size in which btrfs stores data.
    * **noforce**: Prevent force overwrite when an existing filesystem is detected on the device.
    * **sectorsize**: Specify the sectorsize, the minimum data block allocation unit.
    * **nodiscard**: Do not perform whole device TRIM operation by default.
    * **uuid**: Pass UUID or pass True to generate one.


    Options:

    * **dto**: (raid0|raid1|raid5|raid6|raid10|single|dup)
               Specify how the data must be spanned across the devices specified.
    * **mto**: (raid0|raid1|raid5|raid6|raid10|single|dup)
               Specify how metadata must be spanned across the devices specified.
    * **fts**: Features (call ``salt <host> btrfs.features`` for full list of available features)

    See the ``mkfs.btrfs(8)`` manpage for a more complete description of corresponding options description.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.mkfs /dev/sda1
        salt '*' btrfs.mkfs /dev/sda1 noforce=True
     N/A N/A devices N/A N/A N/A CommandExecutionError No devices specified N/A mounts N/A N/A N/A N/A salt utils fsutils _get_mounts btrfs N/A device devices N/A N/A N/A N/A mounts get device N/A N/A N/A CommandExecutionError N/A N/A Device "{0}" should not be mounted format device N/A cmd N/A mkfs.btrfs N/A dto N/A N/A kwargs get dto N/A mto N/A N/A kwargs get mto N/A N/A N/A len devices 1 N/A N/A dto N/A N/A N/A N/A cmd append -d single N/A mto N/A N/A N/A N/A cmd append -m single N/A N/A dto N/A N/A N/A N/A cmd append N/A N/A -d {0} format dto N/A mto N/A N/A N/A N/A cmd append N/A N/A -m {0} format mto N/A N/A key option N/A N/A -l leafsize N/A -L label N/A -O fts N/A -A allocsize N/A -b bytecount N/A -n nodesize N/A -s sectorsize N/A N/A N/A N/A option label N/A option kwargs N/A N/A N/A kwargs N/A label N/A N/A '{0}' format N/A kwargs N/A label N/A N/A N/A kwargs get option N/A N/A N/A N/A cmd append N/A N/A {0} {1} format key N/A N/A kwargs get option N/A N/A N/A kwargs get uuid N/A N/A N/A N/A cmd append N/A N/A -U {0} format N/A N/A N/A N/A N/A kwargs get uuid True N/A N/A uuid uuid1 N/A N/A kwargs get uuid N/A N/A N/A kwargs get nodiscard N/A N/A N/A N/A cmd append -K N/A N/A N/A N/A kwargs get noforce N/A N/A N/A N/A cmd append -f N/A N/A N/A cmd extend devices N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A join cmd N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A ret N/A log N/A out N/A stdout N/A N/A N/A ret update N/A N/A __salt__ N/A btrfs.info N/A devices N/A 0 N/A ret N/A resize N/A N/A mountpoint size N/A N/A N/A 
    Resize filesystem.

    General options:

    * **mountpoint**: Specify the BTRFS mountpoint to resize.
    * **size**: ([+/-]<newsize>[kKmMgGtTpPeE]|max) Specify the new size of the target.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.resize /mountpoint size=+1g
        salt '*' btrfs.resize /dev/sda1 size=max
     N/A N/A size max N/A N/A N/A N/A N/A N/A N/A salt utils fsutils _is_device mountpoint N/A N/A N/A CommandExecutionError N/A N/A Mountpoint "{0}" should be a valid device format mountpoint N/A N/A N/A N/A N/A N/A N/A N/A salt utils fsutils _get_mounts btrfs get mountpoint N/A N/A N/A CommandExecutionError N/A N/A Device "{0}" should be mounted format mountpoint N/A N/A N/A N/A N/A len size 3 N/A N/A size N/A 0 -+ N/A N/A size N/A -1 kKmMgGtTpPeE N/A N/A re sub \d N/A N/A size N/A 1 N/A -1 N/A N/A N/A CommandExecutionError N/A N/A Unknown size: "{0}". Expected: [+/-]<newsize>[kKmMgGtTpPeE]|max format size N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs filesystem resize {0} {1} format size mountpoint N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A ret N/A log N/A out N/A stdout N/A N/A N/A ret update N/A N/A __salt__ N/A btrfs.info mountpoint N/A ret N/A _fsck_ext N/A N/A device N/A N/A N/A 
    Check an ext2/ext3/ext4 file system.

    This is forced check to determine a filesystem is clean or not.
    NOTE: Maybe this function needs to be moved as a standard method in extfs module in a future.
     N/A msgs N/A 0 1 2 4 8 16 32 128 No errors Filesystem errors corrected System should be rebooted Filesystem errors left uncorrected Operational error Usage or syntax error Fsck canceled by user request Shared-library error N/A N/A N/A msgs get N/A N/A N/A __salt__ N/A cmd.run_all N/A N/A fsck -f -n {0} format device N/A retcode Unknown error N/A convert N/A N/A device permanent keeplf N/A False False N/A N/A 
    Convert ext2/3/4 to BTRFS. Device should be mounted.

    Filesystem can be converted temporarily so the further processing and rollback is possible,
    or permanently, where previous extended filesystem image gets deleted. Please note, permanent
    conversion takes a while as BTRFS filesystem needs to be properly rebalanced afterwards.

    General options:

    * **permanent**: Specify if the migration should be permanent (false by default)
    * **keeplf**: Keep ``lost+found`` of the partition (removed by default,
                  but still in the image, if not permanent migration)

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.convert /dev/sda1
        salt '*' btrfs.convert /dev/sda1 permanent=True
     N/A out N/A N/A __salt__ N/A cmd.run_all blkid -o export N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A devices N/A N/A N/A N/A salt utils fsutils _blkid_output N/A out N/A stdout N/A N/A N/A N/A devices get device N/A N/A N/A CommandExecutionError N/A N/A The device "{0}" was is not found. format device N/A N/A N/A N/A N/A devices N/A device N/A type N/A ext2 ext3 ext4 N/A N/A N/A CommandExecutionError N/A N/A The device "{0}" is a "{1}" file system. format device N/A N/A devices N/A device N/A type N/A mountpoint N/A N/A N/A N/A N/A N/A N/A N/A N/A salt utils fsutils _get_mounts N/A N/A devices N/A device N/A type get device N/A N/A mount_point None N/A 0 get mount_point N/A N/A mountpoint / N/A N/A N/A CommandExecutionError One does not simply converts a root filesystem!

Converting an extended root filesystem to BTRFS is a careful
and lengthy process, among other steps including the following
requirements:

  1. Proper verified backup.
  2. System outage.
  3. Offline system access.

For further details, please refer to your OS vendor
documentation regarding this topic.
 N/A N/A N/A N/A N/A salt utils fsutils _verify_run N/A N/A __salt__ N/A cmd.run_all N/A N/A umount {0} format device N/A ret N/A before N/A fsck_status mount_point type N/A _fsck_ext device mountpoint N/A N/A devices N/A device N/A type N/A N/A N/A N/A N/A salt utils fsutils _verify_run N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs-convert {0} format device N/A N/A N/A N/A N/A salt utils fsutils _verify_run N/A N/A __salt__ N/A cmd.run_all N/A N/A mount {0} {1} format device mountpoint N/A out N/A N/A __salt__ N/A cmd.run_all blkid -o export N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A devices N/A N/A N/A N/A salt utils fsutils _blkid_output N/A out N/A stdout N/A N/A ret N/A after N/A fsck_status mount_point type N/A mountpoint N/A N/A devices N/A device N/A type N/A image_path N/A N/A {0}/ext2_saved format mountpoint N/A orig_fstype N/A N/A ret N/A before N/A type N/A N/A N/A N/A N/A os path exists image_path N/A N/A N/A CommandExecutionError N/A N/A BTRFS migration went wrong: the image "{0}" not found! format image_path N/A N/A permanent N/A N/A N/A N/A ret N/A after N/A N/A N/A {0}_image format orig_fstype image_path N/A N/A N/A ret N/A after N/A N/A N/A {0}_image_info format orig_fstype N/A N/A N/A N/A N/A N/A os popen N/A N/A file {0}/image format image_path read strip N/A N/A N/A N/A ret N/A after N/A N/A N/A {0}_image format orig_fstype removed N/A N/A N/A ret N/A after N/A N/A N/A {0}_image_info format orig_fstype N/A N/A N/A N/A N/A N/A salt utils fsutils _verify_run N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs subvolume delete {0} format image_path N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs filesystem balance {0} format mountpoint N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A N/A N/A ret N/A after N/A balance_log N/A out N/A stdout N/A lost_found N/A N/A {0}/lost+found format mountpoint N/A N/A N/A N/A N/A os path exists lost_found N/A keeplf N/A N/A N/A N/A N/A N/A salt utils fsutils _verify_run N/A N/A __salt__ N/A cmd.run_all N/A N/A rm -rf {0} format lost_found N/A ret N/A _restripe N/A N/A mountpoint direction N/A devices kwargs N/A N/A 
    Restripe BTRFS: add or remove devices from the particular mounted filesystem.
     N/A fs_log N/A N/A N/A N/A N/A N/A salt utils fsutils _is_device mountpoint N/A N/A N/A CommandExecutionError N/A N/A Mountpount expected, while device "{0}" specified format mountpoint N/A mounted False N/A N/A device mntpoints N/A N/A six iteritems N/A N/A N/A N/A salt utils fsutils _get_mounts btrfs N/A N/A mntdata mntpoints N/A N/A N/A N/A mntdata N/A mount_point mountpoint N/A N/A mounted True N/A N/A N/A mounted N/A N/A N/A CommandExecutionError N/A N/A No BTRFS device mounted on "{0}" mountpoint format mountpoint N/A N/A devices N/A N/A N/A CommandExecutionError No devices specified. N/A available_devices N/A N/A __salt__ N/A btrfs.devices N/A device devices N/A N/A N/A device N/A N/A six iterkeys available_devices N/A N/A N/A CommandExecutionError N/A N/A Device "{0}" is not recognized format device N/A cmd N/A N/A N/A btrfs device {0} format direction N/A device devices N/A N/A N/A N/A cmd append device N/A N/A direction add N/A N/A N/A N/A kwargs get nodiscard N/A N/A N/A N/A cmd append -K N/A N/A N/A kwargs get force N/A N/A N/A N/A cmd append -f N/A N/A N/A cmd append mountpoint N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A join cmd N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A N/A out N/A stdout N/A N/A N/A N/A fs_log append N/A out N/A stdout N/A N/A direction add N/A N/A out None N/A data_conversion N/A N/A kwargs get dc N/A meta_conversion N/A N/A kwargs get mc N/A N/A data_conversion meta_conversion N/A N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs balance start -dconvert={0} -mconvert={1} {2} format data_conversion meta_conversion mountpoint N/A N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs filesystem balance {0} format mountpoint N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A N/A out N/A stdout N/A N/A N/A N/A fs_log append N/A out N/A stdout N/A ret N/A N/A fs_log N/A N/A N/A N/A ret update N/A log N/A N/A join fs_log N/A N/A N/A ret update N/A N/A __salt__ N/A btrfs.info mountpoint N/A ret N/A add N/A N/A mountpoint N/A devices kwargs N/A N/A 
    Add a devices to a BTRFS filesystem.

    General options:

    * **nodiscard**: Do not perform whole device TRIM
    * **force**: Force overwrite existing filesystem on the disk

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.add /mountpoint /dev/sda1 /dev/sda2
     N/A N/A _restripe mountpoint add devices kwargs N/A delete N/A N/A mountpoint N/A devices kwargs N/A N/A 
    Remove devices from a BTRFS filesystem.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.delete /mountpoint /dev/sda1 /dev/sda2
     N/A N/A _restripe mountpoint delete devices kwargs N/A _parse_proplist N/A N/A data N/A N/A N/A 
    Parse properties list.
     N/A out N/A N/A line N/A N/A data split N/A N/A line N/A N/A re split \s+ line 1 N/A N/A N/A len line 2 N/A N/A N/A out N/A N/A line N/A 0 N/A line N/A 1 N/A out N/A properties N/A N/A obj type set N/A None None N/A N/A 
    List properties for given btrfs object. The object can be path of BTRFS device,
    mount point, or any directories/files inside the BTRFS filesystem.

    General options:

    * **type**: Possible types are s[ubvol], f[ilesystem], i[node] and d[evice].
    * **force**: Force overwrite existing filesystem on the disk
    * **set**: <key=value,key1=value1...> Options for a filesystem properties.

    CLI Example:

    .. code-block:: bash

        salt '*' btrfs.properties /mountpoint
        salt '*' btrfs.properties /dev/sda1 type=subvol set='ro=false,label="My Storage"'
     N/A N/A type N/A type N/A s subvol f filesystem i inode d device N/A N/A N/A CommandExecutionError N/A N/A Unknown property type: "{0}" specified format type N/A cmd N/A btrfs N/A N/A N/A cmd append property N/A N/A N/A cmd append N/A N/A set set list N/A type N/A N/A N/A N/A cmd append N/A N/A -t{0} format type N/A N/A N/A cmd append obj N/A set N/A N/A N/A N/A N/A key value N/A N/A N/A N/A item strip N/A item N/A N/A keyset split = N/A keyset N/A N/A set split , N/A N/A N/A N/A cmd append key N/A N/A N/A cmd append value N/A N/A N/A Exception N/A ex N/A N/A N/A CommandExecutionError ex N/A out N/A N/A __salt__ N/A cmd.run_all N/A N/A join cmd N/A N/A N/A N/A N/A salt utils fsutils _verify_run out N/A N/A set N/A N/A ret N/A N/A N/A prop descr N/A N/A six iteritems N/A _parse_proplist N/A out N/A stdout N/A N/A N/A ret N/A prop N/A description descr N/A value N/A N/A N/A __salt__ N/A cmd.run_all N/A N/A btrfs property get {0} {1} format obj prop N/A stdout N/A N/A N/A ret N/A prop N/A value N/A N/A value N/A N/A N/A value split = N/A -1 N/A N/A ret N/A