pub struct QgroupCommand {
pub subcommand: QgroupSubcommand,
}Expand description
Manage quota groups.
Quota groups (qgroups) track and limit disk usage at the subvolume level. Each subvolume automatically gets a level-0 qgroup (e.g. 0/256 for subvolume 256) that tracks how much data it references and how much is exclusive to it. Qgroups cannot be applied to individual files or directories within a subvolume, only to whole subvolumes. This is why per-directory quotas on btrfs require creating separate subvolumes.
Higher-level qgroups (1/0, 2/0, …) are user-created containers that aggregate the usage of their member subvolumes and can enforce a shared limit across all of them. For example, assigning several user home subvolumes to a single level-1 qgroup lets you cap their combined usage.
Quotas must be enabled first with “btrfs quota enable”. Most operations require CAP_SYS_ADMIN.
Fields§
§subcommand: QgroupSubcommandTrait Implementations§
Source§impl Args for QgroupCommand
impl Args for QgroupCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for QgroupCommand
impl CommandFactory for QgroupCommand
Source§impl CommandGroup for QgroupCommand
impl CommandGroup for QgroupCommand
Source§impl Debug for QgroupCommand
impl Debug for QgroupCommand
Source§impl FromArgMatches for QgroupCommand
impl FromArgMatches for QgroupCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.