|
62.
|
|
|
The repair command shows the details about one or multiple repairs.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
repair 命令显示有关一个或多个修复的详细信息。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_repair_repairs.go:58
|
|
63.
|
|
|
The repairs command lists all processed repairs for this device.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
repairs 命令列出此设备的所有已处理修复。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_repair_repairs.go:82
|
|
64.
|
|
|
The restart command restarts the given services of the snap. If executed from the
"configure" hook, the services will be restarted after the hook finishes.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
restart 命令重新启动 snap 的给定服务。如果从 “configure” 钩子执行,服务将在钩子完
成后重新启动。
|
|
Translated by
Luke Na
|
|
|
|
Located in
overlord/hookstate/ctlcmd/restart.go:30
|
|
65.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_services.go:71
|
|
66.
|
|
|
The restore command replaces the current user, system and
configuration data of included snaps, with the corresponding data from
the specified snapshot.
By default, this command restores all the data in a snapshot.
Alternatively, you can specify the data of which snaps to restore, or
for which users, or a combination of these.
If a snap is included in a restore operation, excluding its system and
configuration data from the restore is not currently possible. This
restriction may be lifted in the future.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:91
|
|
67.
|
|
|
The revert command reverts the given snap to its state before
the latest refresh. This will reactivate the previous snap revision,
and will use the original data that was associated with that revision,
discarding any data changes that were done by the latest revision. As
an exception, data which the snap explicitly chooses to share across
revisions is not touched by the revert process.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
revert 命令将给定的 snap 还原到最近一次刷新之前的状态。这将重新激活以前
的快照修订版本,并将使用与该修订版关联的原始数据,放弃最新修订版本所做
的任何数据更改。作为例外,恢复过程不会触及 snap 显式选择在修订版本之间
共享的数据。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_snap_op.go:1150
|
|
68.
|
|
|
The routine command contains a selection of additional sub-commands.
Routine commands are not intended to be directly invoked by the user.
Instead, they are intended to be called by other programs and produce
machine readable output.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated and reviewed by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_routine.go:29
|
|
69.
|
|
|
The run command executes the given snap command with the right confinement
and environment.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
run 命令使用正确的限制和环境执行给定的 snap 命令。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_run.go:97
|
|
70.
|
|
|
The sandbox command prints tags describing features of individual sandbox
components used by snapd on a given system.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
sandbox 命令打印标签,描述 snapd 在给定系统上使用的各个沙箱组件的功能。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_sandbox_features.go:33
|
|
71.
|
|
|
The save command creates a snapshot of the current user, system and
configuration data for the given snaps.
By default, this command saves the data of all snaps for all users.
Alternatively, you can specify the data of which snaps to save, or
for which users, or a combination of these.
If a snap is included in a save operation, excluding its system and
configuration data from the snapshot is not currently possible. This
restriction may be lifted in the future.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:54
|