Deleted Added
full compact
g_provider.9 (129381) g_provider.9 (129387)
1.\"
2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 8 unchanged lines hidden (view full) ---

17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
1.\"
2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 8 unchanged lines hidden (view full) ---

17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man9/g_provider.9 129381 2004-05-18 11:33:37Z le $
25.\" $FreeBSD: head/share/man/man9/g_provider.9 129387 2004-05-18 12:36:12Z le $
26.\"
27.Dd January 16, 2004
28.Dt g_provider 9
29.Os
30.Sh NAME
31.Nm g_new_providerf ,
32.Nm g_destroy_provider ,
33.Nm g_error_provider

--- 13 unchanged lines hidden (view full) ---

47\- a logical disk in other words.
48All providers have three main properties: name, sectorsize and size.
49.Pp
50The
51.Fn g_new_providerf
52function creates a new provider on given geom
53.Fa gp .
54The name of the provider, which will appear as device in devfs, is created
26.\"
27.Dd January 16, 2004
28.Dt g_provider 9
29.Os
30.Sh NAME
31.Nm g_new_providerf ,
32.Nm g_destroy_provider ,
33.Nm g_error_provider

--- 13 unchanged lines hidden (view full) ---

47\- a logical disk in other words.
48All providers have three main properties: name, sectorsize and size.
49.Pp
50The
51.Fn g_new_providerf
52function creates a new provider on given geom
53.Fa gp .
54The name of the provider, which will appear as device in devfs, is created
55in a printf\-like way from the rest of
55in a printf-like way from the rest of
56the arguments.
57After creation, the caller has to set the provider's
58.Va mediasize
59and
60.Va sectorsize ,
61as well as other desired initializations, and then call
62.Fn g_error_provider
63to reset the provider's error, which is initially set to

--- 78 unchanged lines hidden ---
56the arguments.
57After creation, the caller has to set the provider's
58.Va mediasize
59and
60.Va sectorsize ,
61as well as other desired initializations, and then call
62.Fn g_error_provider
63to reset the provider's error, which is initially set to

--- 78 unchanged lines hidden ---