mirror of
git://git.savannah.gnu.org/guix/maintenance.git
synced 2023-12-14 03:33:04 +01:00
refcard: Move sections around.
This commit is contained in:
parent
70773e0e1b
commit
03e5961f98
1 changed files with 36 additions and 35 deletions
|
@ -139,19 +139,8 @@ from a user-supplied file that looks like this:
|
||||||
}
|
}
|
||||||
@End @Category
|
@End @Category
|
||||||
|
|
||||||
@C { Managing Storage Space }
|
|
||||||
@Begin
|
|
||||||
|
|
||||||
@Entry { guix gc } { collect all garbage }
|
|
||||||
@Entry { guix gc -C {@Var{n}}G } { collect @Var{n} GB of garbage }
|
|
||||||
@Entry { guix gc -F {@Var{n}}G } { ensure @Var{n} GB are available }
|
|
||||||
@Entry { guix gc -d @Var { duration } } { delete generations
|
|
||||||
older than @Var { duration }---e.g., @F { 1m } for one month }
|
|
||||||
@Entry { guix size @Var { spec } @Dots } { view package size }
|
|
||||||
@Entry { guix gc -R "/gnu/store/"@Dots } { list run-time dependencies }
|
|
||||||
@Entry { guix graph -t references @Var { spec } @Dots } { view run-time dependencies }
|
|
||||||
@End @Category
|
|
||||||
|
|
||||||
|
@NP
|
||||||
@C { Customizing Packages }
|
@C { Customizing Packages }
|
||||||
@Begin
|
@Begin
|
||||||
|
|
||||||
|
@ -222,31 +211,17 @@ manifest in @Var { file } }
|
||||||
|
|
||||||
@End @Category
|
@End @Category
|
||||||
|
|
||||||
|
@C { Managing Storage Space }
|
||||||
@C { Managing the Operating System }
|
|
||||||
@Begin
|
@Begin
|
||||||
@LEntry { guix system search @Var { regexp } }
|
|
||||||
{ search for services matching @Var { regexp } }
|
|
||||||
@LEntry { guix system reconfigure @Var { file } }
|
|
||||||
{ reconfigure the OS according to the configuration in @Var { file } }
|
|
||||||
@LEntry { guix system list-generations [@Var { pattern }] }
|
|
||||||
{ list OS generations matching @Var { pattern }---e.g., @F { 1m } for one
|
|
||||||
month }
|
|
||||||
@LEntry { guix system roll-back }
|
|
||||||
{ roll back to the previous system generation }
|
|
||||||
@LEntry { guix system delete-generations @Var { pattern } }
|
|
||||||
{ delete generations matching @Var { pattern } }
|
|
||||||
@LEntry { guix system build @Var { file } }
|
|
||||||
{ build the OS declared in @Var { file } }
|
|
||||||
@End @Category
|
|
||||||
|
|
||||||
@C { Building and Running Containers }
|
@Entry { guix gc } { collect all garbage }
|
||||||
@Begin
|
@Entry { guix gc -C {@Var{n}}G } { collect @Var{n} GB of garbage }
|
||||||
@LEntry { guix system container @Var { file } }
|
@Entry { guix gc -F {@Var{n}}G } { ensure @Var{n} GB are available }
|
||||||
{ produce a script that runs the OS declared in @Var { file } in a
|
@Entry { guix gc -d @Var { duration } } { delete generations
|
||||||
container }
|
older than @Var { duration }---e.g., @F { 1m } for one month }
|
||||||
@LEntry { guix system docker-image @Var { file } }
|
@Entry { guix size @Var { spec } @Dots } { view package size }
|
||||||
{ build a Docker image of the OS declared in @Var { file } }
|
@Entry { guix gc -R "/gnu/store/"@Dots } { list run-time dependencies }
|
||||||
|
@Entry { guix graph -t references @Var { spec } @Dots } { view run-time dependencies }
|
||||||
@End @Category
|
@End @Category
|
||||||
|
|
||||||
@LP
|
@LP
|
||||||
|
@ -318,6 +293,32 @@ complete } configuration of an operating system, along these lines:
|
||||||
{ produce a script that runs the OS declared in @Var { file } in a VM }
|
{ produce a script that runs the OS declared in @Var { file } in a VM }
|
||||||
@End @Category
|
@End @Category
|
||||||
|
|
||||||
|
@C { Managing the Operating System }
|
||||||
|
@Begin
|
||||||
|
@LEntry { guix system search @Var { regexp } }
|
||||||
|
{ search for services matching @Var { regexp } }
|
||||||
|
@LEntry { guix system reconfigure @Var { file } }
|
||||||
|
{ reconfigure the OS according to the configuration in @Var { file } }
|
||||||
|
@LEntry { guix system list-generations [@Var { pattern }] }
|
||||||
|
{ list OS generations matching @Var { pattern }---e.g., @F { 1m } for one
|
||||||
|
month }
|
||||||
|
@LEntry { guix system roll-back }
|
||||||
|
{ roll back to the previous system generation }
|
||||||
|
@LEntry { guix system delete-generations @Var { pattern } }
|
||||||
|
{ delete generations matching @Var { pattern } }
|
||||||
|
@LEntry { guix system build @Var { file } }
|
||||||
|
{ build the OS declared in @Var { file } }
|
||||||
|
@End @Category
|
||||||
|
|
||||||
|
@C { Building and Running Containers }
|
||||||
|
@Begin
|
||||||
|
@LEntry { guix system container @Var { file } }
|
||||||
|
{ produce a script that runs the OS declared in @Var { file } in a
|
||||||
|
container }
|
||||||
|
@LEntry { guix system docker-image @Var { file } }
|
||||||
|
{ build a Docker image of the OS declared in @Var { file } }
|
||||||
|
@End @Category
|
||||||
|
|
||||||
@C { Inspecting an Operating System }
|
@C { Inspecting an Operating System }
|
||||||
@Begin
|
@Begin
|
||||||
@LEntry { guix system extension-graph @Var { file } }
|
@LEntry { guix system extension-graph @Var { file } }
|
||||||
|
|
Loading…
Reference in a new issue