Crate libbtrfsutil

Source

Structs§

CreateSnapshotOptions
Options to create snapshots
CreateSubvolumeOptions
Options to create subvolumes
DeleteSubvolumeOptions
Options to delete subvolumes
Error
ErrorKind
IterateSubvolume
A builder to create a subvolume iterator
QgroupInherit
qgroup inheritance specifier.
SubvolumeIdIterator
SubvolumeInfo
Information about a Btrfs subvolume.
SubvolumeInfoIterator

Constants§

FS_TREE_OBJECTID

Functions§

create_subvolume
Creates a new subvolume. See CreateSubvolumeOptions for more options.
delete_subvolume
Delete a subvolume. See DeleteSubvolumeOptions for more options.
is_subvolume
Returns whether the given path is a Btrfs subvolume.
set_subvolume_read_only
Set whether a subvolume is read-only.
subvolume_id
Gets the ID of the subvolume containing the path.
subvolume_info
Gets information about the subvolume at the given path.
subvolume_info_with_id
Gets information about the subvolume with the given id on the filesystem containing the path.
subvolume_path
Gets the path of the subvolume relative to the filesystem root.
subvolume_path_with_id
Gets the path of the subvolume with a given ID relative to the filesystem root.
subvolume_read_only
Returns whether a subvolume is read-only.
sync
Forces a sync on a Btrfs filesystem containing the path.