GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
G_PROVIDER_BY_NAME(9) FreeBSD Kernel Developer's Manual G_PROVIDER_BY_NAME(9)

g_provider_by_name
find GEOM provider with given name

#include <geom/geom.h>
struct g_provider *
g_provider_by_name(const char *name);

The g_provider_by_name() function searches for a provider called name and returns the structure g_provider bound to it. Argument name should be a name, not a full path (i.e., “da0”, instead of “/dev/da0”).

The topology lock has to be held.

The g_provider_by_name() function returns a pointer to the provider called name or NULL if there is no such provider.

geom(4), DECLARE_GEOM_CLASS(9), g_access(9), g_attach(9), g_bio(9), g_consumer(9), g_data(9), g_event(9), g_geom(9), g_provider(9), g_wither_geom(9)

This manual page was written by Pawel Jakub Dawidek <pjd@FreeBSD.org>.
January 16, 2004 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 9 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.