g_provider_by_name(9): argument can be a geom name or fullpath
The argument passed to g_provider_by_name(9) can be a geom name or a
fullpath.
- g_provider_by_name() gained this functionality in
769afdc71e
.
Reviewed by: imp, kevans
Approved by: kevans (mentor)
Differential Revision: https://reviews.freebsd.org/D27566
This commit is contained in:
parent
7587d9823a
commit
7436a63ba9
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd January 16, 2004
|
.Dd January 29, 2021
|
||||||
.Dt G_PROVIDER_BY_NAME 9
|
.Dt G_PROVIDER_BY_NAME 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -44,9 +44,9 @@ and returns the structure
|
|||||||
bound to it.
|
bound to it.
|
||||||
Argument
|
Argument
|
||||||
.Fa name
|
.Fa name
|
||||||
should be a name, not a full path (i.e.,
|
can be a name or full path (i.e.,
|
||||||
.Dq Pa da0 ,
|
.Dq Pa da0 ,
|
||||||
instead of
|
or
|
||||||
.Dq Pa /dev/da0 ) .
|
.Dq Pa /dev/da0 ) .
|
||||||
.Sh RESTRICTIONS/CONDITIONS
|
.Sh RESTRICTIONS/CONDITIONS
|
||||||
The topology lock has to be held.
|
The topology lock has to be held.
|
||||||
|
Loading…
Reference in New Issue
Block a user