btrfs_subvolume_set_default


Description:

[ Version ( since = "1.17.35" ) ]
public bool btrfs_subvolume_set_default (int64 id, string fs) throws Error

set default btrfs subvolume

Set the subvolume of the btrfs filesystem fs which will be mounted by default. See btrfs_subvolume_list to get a list of subvolumes.

This function depends on the feature "btrfs". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error