Top |
org.freedesktop.UDisks2.Filesystem.BTRFSorg.freedesktop.UDisks2.Filesystem.BTRFS — BTRFS filesystem interface exported on block objects |
AddDevice (IN o device, IN a{sv} options); RemoveDevice (IN o device, IN a{sv} options); CreateSubvolume (IN s name, IN a{sv} options); RemoveSubvolume (IN s name, IN a{sv} options); GetSubvolumes (IN b snapshots_only, IN a{sv} options, OUT a(tts) subvolumes, OUT i subvolumes_cnt); CreateSnapshot (IN s source, IN s dest, IN b ro, IN a{sv} options); Repair (IN a{sv} options); Resize (IN t size, IN a{sv} options); SetLabel (IN s label, IN a{sv} options); GetDefaultSubvolumeID (IN a{sv} options, OUT u id); SetDefaultSubvolumeID (IN u id, IN a{sv} options);
This interface is used for org.freedesktop.UDisks2.Block devices that has been filtered through BTRFS plugin.
Since 2.1.3
AddDevice (IN o device, IN a{sv} options);
Adds the device
to the volume.
No additional options are currently defined.
Changed in version 2.7.0.
|
Object path of a device to be added to BTRFS volume. |
|
Additional options. |
Since 2.3.0
RemoveDevice (IN o device, IN a{sv} options);
Removes the device
from the volume.
No additional options are currently defined.
Changed in version 2.7.0.
|
Object path of a device to be removed from BTRFS volume. |
|
Additional options. |
Since 2.3.0
CreateSubvolume (IN s name, IN a{sv} options);
Creates a new subvolume.
No additional options are currently defined.
|
Name of a new subvolume. |
|
Additional options. |
Since 2.1.3
RemoveSubvolume (IN s name, IN a{sv} options);
Deletes a subvolume.
No additional options are currently defined.
|
Name of the subvolume to be deleted. |
|
Additional options. |
Since 2.1.3
GetSubvolumes (IN b snapshots_only, IN a{sv} options, OUT a(tts) subvolumes, OUT i subvolumes_cnt);
Returns a list of subvolumes.
No additional options are currently defined.
|
True if to list only snapshot subvolumes; False otherwise. |
|
Additional options. |
|
Structure containing subvolume id, parent_id and path. |
|
The number of returned elements. |
Since 2.1.3
CreateSnapshot (IN s source, IN s dest, IN b ro, IN a{sv} options);
Creates a snapshot.
No additional options are currently defined.
|
Name of the source subvolume. |
|
Name for the new snapshot volume. |
|
True if the snapshot should be read-only; False otherwise. |
|
Additional options. |
Since 2.1.3
Repair (IN a{sv} options);
Checks and repairs btrfs volume.
No additional options are currently defined.
|
Additional options. |
Since 2.3.0
Resize (IN t size, IN a{sv} options);
Resizes the volume.
No additional options are currently defined.
|
Requested new size in Bytes. |
|
Additional options. |
Since 2.3.0
SetLabel (IN s label, IN a{sv} options);
Sets a new label for the given volume.
No additional options are currently defined.
|
New label. |
|
Additional options. |
Since 2.1.3
GetDefaultSubvolumeID (IN a{sv} options, OUT u id);
Returns the default subvolume id.
No additional options are currently defined.
|
Additional options. |
|
|
Since 2.11.0