diff options
author | delphij <delphij@FreeBSD.org> | 2010-01-17 06:20:30 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-01-17 06:20:30 +0000 |
commit | 16c4a5ec2099b564a3372fead91070ad8816723a (patch) | |
tree | eddbf7d4c94dd7c16658d16b0e3f9612ebc27ff9 /lib/libgeom/libgeom.3 | |
parent | 7cef302ab8816e0aac85ec3070022921b840af26 (diff) | |
download | FreeBSD-src-16c4a5ec2099b564a3372fead91070ad8816723a.zip FreeBSD-src-16c4a5ec2099b564a3372fead91070ad8816723a.tar.gz |
Expose stripe offset and stripe size through libgeom and geom(8) userland
utilities.
Reviewed by: pjd, mav (earlier version)
Diffstat (limited to 'lib/libgeom/libgeom.3')
-rw-r--r-- | lib/libgeom/libgeom.3 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/libgeom/libgeom.3 b/lib/libgeom/libgeom.3 index 9272d3b..3c15805 100644 --- a/lib/libgeom/libgeom.3 +++ b/lib/libgeom/libgeom.3 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 8, 2008 +.Dd January 16, 2010 .Dt LIBGEOM 3 .Os .Sh NAME @@ -50,6 +50,8 @@ .Nm g_close , .Nm g_mediasize , .Nm g_sectorsize , +.Nm g_stripeoffset , +.Nm g_stripesize , .Nm g_flush , .Nm g_delete , .Nm g_device_path , @@ -101,6 +103,10 @@ .Fn g_mediasize "int fd" .Ft ssize_t .Fn g_sectorsize "int fd" +.Ft ssize_t +.Fn g_stripeoffset "int fd" +.Ft ssize_t +.Fn g_stripesize "int fd" .Ft int .Fn g_flush "int fd" .Ft int @@ -297,6 +303,14 @@ The function returns sector size of the given provider. .Pp The +.Fn g_stripeoffset +function returns stripe size of the given provider. +.Pp +The +.Fn g_stripesize +function returns stripe size of the given provider. +.Pp +The .Fn g_flush function sends .Dv BIO_FLUSH |