diff options
author | lulf <lulf@FreeBSD.org> | 2008-09-07 13:54:57 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2008-09-07 13:54:57 +0000 |
commit | 8c52b542c0de3a703a273d3ef92e1d9ba8ea23e1 (patch) | |
tree | 16f2ffcdc41f0c11cebb1b3f34481ddf1a5d05cc /lib/libgeom/libgeom.h | |
parent | cb1cd5ee09eb37bf756225d7f27b846e17599cf1 (diff) | |
download | FreeBSD-src-8c52b542c0de3a703a273d3ef92e1d9ba8ea23e1.zip FreeBSD-src-8c52b542c0de3a703a273d3ef92e1d9ba8ea23e1.tar.gz |
- Add a new ioctl for getting the provider name of a geom provider.
- Add a routine for looking up a device and checking if it is a valid geom
provider given a partial or full path to its device node.
Reviewed by: phk
Approved by: pjd (mentor)
Diffstat (limited to 'lib/libgeom/libgeom.h')
-rw-r--r-- | lib/libgeom/libgeom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libgeom/libgeom.h b/lib/libgeom/libgeom.h index 56736a3..7255bd4 100644 --- a/lib/libgeom/libgeom.h +++ b/lib/libgeom/libgeom.h @@ -154,6 +154,8 @@ int g_delete(int, off_t, off_t); int g_get_ident(int, char *, size_t); int g_get_name(const char *, char *, size_t); int g_open_by_ident(const char *, int, char *, size_t); +char *g_device_path(const char *); +char *g_providername(int); __END_DECLS |