commit
bb2c292906
2
beadm
2
beadm
|
|
@ -45,9 +45,9 @@ __usage() {
|
||||||
echo " ${NAME} list [-a]"
|
echo " ${NAME} list [-a]"
|
||||||
echo " ${NAME} list [-D]"
|
echo " ${NAME} list [-D]"
|
||||||
echo " ${NAME} mount beName [mountpoint]"
|
echo " ${NAME} mount beName [mountpoint]"
|
||||||
|
echo " ${NAME} rename origBeName newBeName"
|
||||||
echo " ${NAME} umount [-f] beName"
|
echo " ${NAME} umount [-f] beName"
|
||||||
echo " ${NAME} unmount [-f] beName"
|
echo " ${NAME} unmount [-f] beName"
|
||||||
echo " ${NAME} rename origBeName newBeName"
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
21
beadm.1
21
beadm.1
|
|
@ -15,7 +15,7 @@
|
||||||
.\" @(#)beadm.1
|
.\" @(#)beadm.1
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 26, 2012
|
.Dd September 4, 2012
|
||||||
.Dt BEADM 1
|
.Dt BEADM 1
|
||||||
.Os FreeBSD
|
.Os FreeBSD
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
|
@ -38,8 +38,7 @@ destroy
|
||||||
.Ao Ar beName | beName@snapshot Ac
|
.Ao Ar beName | beName@snapshot Ac
|
||||||
.Nm
|
.Nm
|
||||||
list
|
list
|
||||||
.Nm
|
.Op Fl a | Fl D
|
||||||
mount
|
|
||||||
.Nm
|
.Nm
|
||||||
mount
|
mount
|
||||||
.Ao Ar beName Ac
|
.Ao Ar beName Ac
|
||||||
|
|
@ -99,12 +98,16 @@ Specifying
|
||||||
will automatically unmount without confirmation.
|
will automatically unmount without confirmation.
|
||||||
.Pp
|
.Pp
|
||||||
.It Ic list
|
.It Ic list
|
||||||
|
.Op Fl a | Fl D
|
||||||
.Pp
|
.Pp
|
||||||
Displays all boot environments.
|
Displays all boot environments.
|
||||||
.PP
|
.PP
|
||||||
.It Ic mount
|
If
|
||||||
.Pp
|
.Fl a
|
||||||
List all mounted datasets for the current boot environment.
|
is used, display all datasets and snapshots as well.
|
||||||
|
If
|
||||||
|
.Fl D
|
||||||
|
is used, display the full space usage for each boot environment, assuming all other boot environments were destroyed.
|
||||||
.Pp
|
.Pp
|
||||||
.It Ic mount
|
.It Ic mount
|
||||||
.Ao Ar beName Ac
|
.Ao Ar beName Ac
|
||||||
|
|
@ -139,14 +142,14 @@ Perform a system upgrade in a
|
||||||
.Xr jail 8
|
.Xr jail 8
|
||||||
.Pp
|
.Pp
|
||||||
Create a new boot environment called
|
Create a new boot environment called
|
||||||
.Em jailed
|
.Em jailed :
|
||||||
.Pp
|
.Pp
|
||||||
.Dl beadm create -e default jailed
|
.Dl beadm create -e default jailed
|
||||||
.Pp
|
.Pp
|
||||||
Set mountpoint for new jail to
|
Set mountpoint for new jail to
|
||||||
.Pa /usr/jails/jailed
|
.Pa /usr/jails/jailed :
|
||||||
.Pp
|
.Pp
|
||||||
.Dl zfs set mountpoint=/usr/jails/jailed zroot/ROOT/jailed
|
.Dl beadm mount jailed /usr/jails/jailed
|
||||||
.Pp
|
.Pp
|
||||||
The currently active boot environment is now replicated into the jailed system and ready for upgrade.
|
The currently active boot environment is now replicated into the jailed system and ready for upgrade.
|
||||||
Startup the jail, login and perform the normal upgrade process.
|
Startup the jail, login and perform the normal upgrade process.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue