2 .\" be - Utility to manage Boot Environments on the ZFS filesystem
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
22 .Nd Utility to manage Boot Environments on ZFS
31 .Op Fl e Ar nonActiveBe | Fl e Ar beName@snapshot
36 .Ao Ar beName@snapshot Ac
40 .Ao Ar beName | beName@snapshot Ac
43 .Ao Ar jailID | jailName Ac
61 .Ao Ar jailID | jailName Ac
70 command is used to setup and interact with ZFS boot environments, which are bootable clones of datasets.
73 allows the system to be upgraded, while preserving the old system environment in a separate ZFS dataset.
76 The following commands are supported by
78 .Bl -tag -width activate
85 as the default boot filesystem. If the
87 flag is given, this takes effect only for the next boot.
91 .Op Fl e Ar nonActiveBe | Fl e Ar beName@snapshot
94 Creates a new boot environment named
96 If the -e param is specified, the new environment will be cloned from the given
97 .Ar nonActiveBe | Ar beName@snapshot .
100 flag is given, a recursive boot environment will be made.
104 .Ao Ar beName@snapshot Ac
106 Creates a snapshot of the existing boot environment named
110 flag is given, a recursive boot environment will be made.
114 .Ao Ar beName | beName@snapshot Ac
123 will automatically unmount without confirmation.
126 .Ao Ar jailID | jailName Ac
129 Creates a jail of the given boot environment.
137 Displays all boot environments.
138 The Active field indicates whether the boot environment is active now (N); active on reboot (R); or both (NR).
142 is used, display all datasets.
145 is used, display the full space usage for each boot environment, assuming all other boot environments were destroyed.
148 option is used for scripting. It does not print headers and separate fields by a single tab instead of arbitrary white space.
151 is used, display all snapshots as well.
157 Temporarily mount the boot environment.
158 Mount at the specified
162 .It Ic rename Ao Ar origBeName Ac Ao Ar newBeName Ac
164 Renames the given nonactive
173 Unmount the given boot environment, if it is mounted.
176 will force the unmount if busy.
181 Destroys the jail created from the given boot environment.
187 To fill in with jail upgrade example when behavior is firm.
197 and was implemented as a project for the 2017 Summer of Code, along with
202 Kyle Kneitinger (kneitinger)
208 Slawomir Wojciech Wojtczak (vermaden)
209 .Ar vermaden@interia.pl
211 Creator and maintainer of
214 Bryan Drewery (bdrewery)
219 manual page that this one is derived from.