git: 7436a63ba908 - main - g_provider_by_name(9): argument can be a geom name or fullpath
Robert Wing
rew at FreeBSD.org
Sat Jan 30 17:30:45 UTC 2021
The branch main has been updated by rew:
URL: https://cgit.FreeBSD.org/src/commit/?id=7436a63ba908a52f1a11f202dbacd9f5eb5b9fee
commit 7436a63ba908a52f1a11f202dbacd9f5eb5b9fee
Author: Robert Wing <rew at FreeBSD.org>
AuthorDate: 2021-01-29 23:18:28 +0000
Commit: Robert Wing <rew at FreeBSD.org>
CommitDate: 2021-01-30 17:25:10 +0000
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
769afdc71ea6b0c09dae883ce49d913cbc8cff5b.
Reviewed by: imp, kevans
Approved by: kevans (mentor)
Differential Revision: https://reviews.freebsd.org/D27566
---
share/man/man9/g_provider_by_name.9 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/share/man/man9/g_provider_by_name.9 b/share/man/man9/g_provider_by_name.9
index 56dd303298b6..8293b15b8043 100644
--- a/share/man/man9/g_provider_by_name.9
+++ b/share/man/man9/g_provider_by_name.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 16, 2004
+.Dd January 29, 2021
.Dt G_PROVIDER_BY_NAME 9
.Os
.Sh NAME
@@ -44,9 +44,9 @@ and returns the structure
bound to it.
Argument
.Fa name
-should be a name, not a full path (i.e.,
+can be a name or full path (i.e.,
.Dq Pa da0 ,
-instead of
+or
.Dq Pa /dev/da0 ) .
.Sh RESTRICTIONS/CONDITIONS
The topology lock has to be held.
More information about the dev-commits-src-main
mailing list