Structs§
- Create
Snapshot Options - Options to create snapshots
- Create
Subvolume Options - Options to create subvolumes
- Delete
Subvolume Options - Options to delete subvolumes
- Error
- Error
Kind - Iterate
Subvolume - A builder to create a subvolume iterator
- Qgroup
Inherit - qgroup inheritance specifier.
- Subvolume
IdIterator - Subvolume
Info - Information about a Btrfs subvolume.
- Subvolume
Info Iterator
Constants§
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 thepath
. - 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
.