Slight markup and grammar fixes.
This commit is contained in:
parent
83f46f9e33
commit
0e252c9a1a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131763
@ -83,7 +83,7 @@ method, no metadata are stored on the devices, so the concatenated
|
|||||||
device has to be configured by hand every time it is needed.
|
device has to be configured by hand every time it is needed.
|
||||||
The
|
The
|
||||||
.Dq automatic
|
.Dq automatic
|
||||||
method use on-disk metadata to detect devices.
|
method uses on-disk metadata to detect devices.
|
||||||
Once devices are labeled, they will be automatically detected and
|
Once devices are labeled, they will be automatically detected and
|
||||||
configured.
|
configured.
|
||||||
.Pp
|
.Pp
|
||||||
@ -112,7 +112,7 @@ will be loaded if it is not loaded already.
|
|||||||
.It Cm stop
|
.It Cm stop
|
||||||
Turn off existing concatenate device by its
|
Turn off existing concatenate device by its
|
||||||
.Ar name .
|
.Ar name .
|
||||||
This command doesn't touch on-disk metadata!
|
This command does not touch on-disk metadata!
|
||||||
.It Cm destroy
|
.It Cm destroy
|
||||||
Same as
|
Same as
|
||||||
.Cm stop .
|
.Cm stop .
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd Jul 2, 2004
|
.Dd July 2, 2004
|
||||||
.Dt GLABEL 8
|
.Dt GLABEL 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -69,7 +69,7 @@
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility is used for GEOM providers labelization.
|
utility is used for GEOM providers labelization.
|
||||||
A label can be setup on a GEOM provider in two ways:
|
A label can be set up on a GEOM provider in two ways:
|
||||||
.Dq manual
|
.Dq manual
|
||||||
or
|
or
|
||||||
.Dq automatic .
|
.Dq automatic .
|
||||||
@ -85,7 +85,7 @@ the future.
|
|||||||
This class also provides volume label detection for file systems.
|
This class also provides volume label detection for file systems.
|
||||||
Those labels cannot be set with
|
Those labels cannot be set with
|
||||||
.Nm ,
|
.Nm ,
|
||||||
but must be set with the appropriate file system utility, e.g. for UFS
|
but must be set with the appropriate file system utility, e.g.\& for UFS
|
||||||
the file system label is set with
|
the file system label is set with
|
||||||
.Xr tunefs 8 .
|
.Xr tunefs 8 .
|
||||||
Currently supported file systems are:
|
Currently supported file systems are:
|
||||||
@ -123,7 +123,7 @@ The kernel module
|
|||||||
.Pa geom_label.ko
|
.Pa geom_label.ko
|
||||||
will be loaded if it is not loaded already.
|
will be loaded if it is not loaded already.
|
||||||
.It Cm label
|
.It Cm label
|
||||||
Setup a label
|
Set up a label
|
||||||
.Ar name
|
.Ar name
|
||||||
for the given provider.
|
for the given provider.
|
||||||
This is the
|
This is the
|
||||||
@ -135,7 +135,7 @@ will be loaded if it is not loaded already.
|
|||||||
.It Cm stop
|
.It Cm stop
|
||||||
Turn off the given label by its
|
Turn off the given label by its
|
||||||
.Ar name .
|
.Ar name .
|
||||||
This command doesn't touch on-disk metadata!
|
This command does not touch on-disk metadata!
|
||||||
.It Cm destroy
|
.It Cm destroy
|
||||||
Same as
|
Same as
|
||||||
.Cm stop .
|
.Cm stop .
|
||||||
@ -161,7 +161,8 @@ Force the removal of the specified labels.
|
|||||||
Be more verbose.
|
Be more verbose.
|
||||||
.El
|
.El
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
The following example shows how to setup a label for disk da2,
|
The following example shows how to set up a label for disk
|
||||||
|
.Dq Li da2 ,
|
||||||
create a file system on it, and mount it:
|
create a file system on it, and mount it:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
glabel label -v usr /dev/da2
|
glabel label -v usr /dev/da2
|
||||||
@ -173,7 +174,7 @@ glabel stop usr
|
|||||||
glabel unload
|
glabel unload
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
The next example shows how to setup a label for a UFS file system:
|
The next example shows how to set up a label for a UFS file system:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
tunefs -L data /dev/da4s1a
|
tunefs -L data /dev/da4s1a
|
||||||
mount /dev/ufs/data /mnt/data
|
mount /dev/ufs/data /mnt/data
|
||||||
|
@ -70,14 +70,15 @@ The first argument to
|
|||||||
indicates an action to be performed:
|
indicates an action to be performed:
|
||||||
.Bl -tag -width ".Cm configure"
|
.Bl -tag -width ".Cm configure"
|
||||||
.It Cm create
|
.It Cm create
|
||||||
Setup a transparent provider on the given devices.
|
Set up a transparent provider on the given devices.
|
||||||
If operation succeded, new provider should appear with name
|
If operation succeded, new provider should appear with name
|
||||||
.Pa /dev/<dev>.nop .
|
.Pa /dev/ Ns Ao Ar dev Ac Ns Pa .nop .
|
||||||
The kernel module
|
The kernel module
|
||||||
.Pa geom_nop.ko
|
.Pa geom_nop.ko
|
||||||
will be loaded if it is not loaded already.
|
will be loaded if it is not loaded already.
|
||||||
.It Cm configure
|
.It Cm configure
|
||||||
Configure existing transparent provider. At the moment it is only used
|
Configure existing transparent provider.
|
||||||
|
At the moment it is only used
|
||||||
for changing failure probability.
|
for changing failure probability.
|
||||||
The kernel module
|
The kernel module
|
||||||
.Pa geom_nop.ko
|
.Pa geom_nop.ko
|
||||||
|
@ -85,7 +85,7 @@ method, no metadata are stored on the devices, so the striped
|
|||||||
device has to be configured by hand every time it is needed.
|
device has to be configured by hand every time it is needed.
|
||||||
The
|
The
|
||||||
.Dq automatic
|
.Dq automatic
|
||||||
method use on-disk metadata to detect devices.
|
method uses on-disk metadata to detect devices.
|
||||||
Once devices are labeled, they will be automatically detected and
|
Once devices are labeled, they will be automatically detected and
|
||||||
configured.
|
configured.
|
||||||
.Pp
|
.Pp
|
||||||
@ -94,7 +94,7 @@ The first argument to
|
|||||||
indicates an action to be performed:
|
indicates an action to be performed:
|
||||||
.Bl -tag -width ".Cm destroy"
|
.Bl -tag -width ".Cm destroy"
|
||||||
.It Cm create
|
.It Cm create
|
||||||
Setup a striped device from the given devices with specified
|
Set up a striped device from the given devices with specified
|
||||||
.Ar name .
|
.Ar name .
|
||||||
This is the
|
This is the
|
||||||
.Dq manual
|
.Dq manual
|
||||||
@ -103,7 +103,7 @@ The kernel module
|
|||||||
.Pa geom_stripe.ko
|
.Pa geom_stripe.ko
|
||||||
will be loaded if it is not loaded already.
|
will be loaded if it is not loaded already.
|
||||||
.It Cm label
|
.It Cm label
|
||||||
Setup a striped device from the given devices with the specified
|
Set up a striped device from the given devices with the specified
|
||||||
.Ar name .
|
.Ar name .
|
||||||
This is the
|
This is the
|
||||||
.Dq automatic
|
.Dq automatic
|
||||||
@ -114,7 +114,7 @@ will be loaded if it is not loaded already.
|
|||||||
.It Cm stop
|
.It Cm stop
|
||||||
Turn off existing striped device by its
|
Turn off existing striped device by its
|
||||||
.Ar name .
|
.Ar name .
|
||||||
This command doesn't touch on-disk metadata!
|
This command does not touch on-disk metadata!
|
||||||
.It Cm destroy
|
.It Cm destroy
|
||||||
Same as
|
Same as
|
||||||
.Cm stop .
|
.Cm stop .
|
||||||
@ -142,7 +142,7 @@ Specifies size of stripe block.
|
|||||||
Be more verbose.
|
Be more verbose.
|
||||||
.El
|
.El
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
The following example shows how to setup striped device from four disks
|
The following example shows how to set up striped device from four disks
|
||||||
for automatic configuration, create a file system on it, and mount it:
|
for automatic configuration, create a file system on it, and mount it:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
gstripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 /dev/da3
|
gstripe label -v -s 65536 data /dev/da0 /dev/da1 /dev/da2 /dev/da3
|
||||||
|
@ -55,9 +55,9 @@ Print detailed information (within the given class) about all providers
|
|||||||
This command is only available if the given class exists in the kernel.
|
This command is only available if the given class exists in the kernel.
|
||||||
.It Cm load
|
.It Cm load
|
||||||
Load the kernel module that implements the given class.
|
Load the kernel module that implements the given class.
|
||||||
This command is only available if the class doesn't yet exist in the kernel and
|
This command is only available if the class does not yet exist in the kernel and
|
||||||
the file
|
the file
|
||||||
.Pa geom_<class>.ko
|
.Pa geom_ Ns Ao Ar class Ac Ns Pa .ko
|
||||||
can be found in one of the directories specifed in
|
can be found in one of the directories specifed in
|
||||||
.Va kern.module_path
|
.Va kern.module_path
|
||||||
sysctl.
|
sysctl.
|
||||||
@ -75,10 +75,11 @@ directory and are loaded via
|
|||||||
function when the class name is known.
|
function when the class name is known.
|
||||||
When a class-specific shared library exists, a direct utility should also be
|
When a class-specific shared library exists, a direct utility should also be
|
||||||
available under the name of
|
available under the name of
|
||||||
.Nm g<class> .
|
.Nm g Ns Ar class .
|
||||||
.Pp
|
.Pp
|
||||||
Currently available classes which are aware of
|
Currently available classes which are aware of
|
||||||
.Xr geom 8 :
|
.Xr geom 8 :
|
||||||
|
.Pp
|
||||||
.Bl -bullet -offset indent -compact
|
.Bl -bullet -offset indent -compact
|
||||||
.It
|
.It
|
||||||
CONCAT
|
CONCAT
|
||||||
|
Loading…
Reference in New Issue
Block a user