11
Command Line Control
Deep Freeze can be optionally configured and controlled through the command line. Command line
control (dfl) offers network administrators increased flexibility in managing Deep Freeze machines
and works in combination with third-party enterprise management tools. The dfl man page lists the
set of available command line options.
Commands are available to root-privileged users only, unless noted in the table below:
Syntax
Description
-?, --help
Displays the command line usage. Available to all users.
-b, --boot <frozen|thawed>
[numRestarts]
Boots the system in the Frozen or Thawed state. If
numRestarts
is provided, boots the system Thawed for that number of restarts.
numRestarts
is ignored if
frozen
is specified.
-e, --export <file>
Exports the configuration settings to an XML file. The specified
file
name will be appended with
.xml
.
-f, --freeze <partition>
Freezes the specified partition.
-g, --graphics
Launches the graphical user interface of Deep Freeze Linux.
-h, --hideStatusGraphic
<frozen|thawed> <true|false>
Hides (or reveals if
false
is specified) the kicker panel icons
representing the Frozen or Thawed status of the machine.
-i, --import <file>
Imports the configuration settings from a specified XML file.
-r, --restart
Restarts the system immediately. The partitions will be Frozen or
Thawed according to the last Freeze or Thaw command applied
to them.
-s, --status <partition>
Displays the current Deep Freeze status of one or more partitions.
Status is returned as either Frozen or Thawed.
-S, --systemStatus
Displays the current Deep Freeze system status. Status is returned
as either Frozen or Thawed. Available to all users.
-t, --thaw <partition>
Thaws the specified partition.
-v, --version
Displays the version of the installed Deep Freeze Linux application.
Available to all users.
-x, --xml
All output from the above commands, except
-g, --graphics
,
is displayed in XML format. Available to all users.
Command Line Examples
1. A sample command using the
boot <frozen>
command is shown below:
sudo dfl -b thawed
In this example, the computer will boot into the Thawed state the next time it is restarted.
2. A sample command using the
freeze <partition>
command is shown below:
sudo dfl -f sda2
In this example, the partition named
sda2
will boot in the Frozen state the next time the
system is restarted. Note that the CLI does not recognize partitions identified by their mount
point names.