Deleted Added
full compact
g_access.9 (126859) g_access.9 (126864)
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_access.9 126859 2004-03-11 19:23:48Z pjd $
25.\" $FreeBSD: head/share/man/man9/g_access.9 126864 2004-03-11 22:22:03Z pjd $
26.\"
27.Dd January 16, 2004
28.Dt g_access 9
29.Os
30.Sh NAME
31.Nm g_access
32.Nd "control access count between given consumer and its provider"
33.Sh SYNOPSIS

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

40function allows to open/change access to/close the provider which is
41attached to the given consumer
42.Fa cp .
43Arguments
44.Fa dcr ,
45.Fa dcw ,
46.Fa dce
47stand for read, write and exclusive access count change.
26.\"
27.Dd January 16, 2004
28.Dt g_access 9
29.Os
30.Sh NAME
31.Nm g_access
32.Nd "control access count between given consumer and its provider"
33.Sh SYNOPSIS

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

40function allows to open/change access to/close the provider which is
41attached to the given consumer
42.Fa cp .
43Arguments
44.Fa dcr ,
45.Fa dcw ,
46.Fa dce
47stand for read, write and exclusive access count change.
48Read and write access are self explanatory. Exclusive access count
49prevents others write access.
48Read and write access are self explanatory.
49Exclusive access count prevents others write access.
50Provider's access count is the sum of all attached consumers counts.
51After attaching to the provider with
52.Fn g_attach
53function, one have to use
54.Fn g_access
55function before starting I/O requests.
56.Sh RESTRICTIONS/CONDITIONS
57The consumer must be attached.

--- 97 unchanged lines hidden ---
50Provider's access count is the sum of all attached consumers counts.
51After attaching to the provider with
52.Fn g_attach
53function, one have to use
54.Fn g_access
55function before starting I/O requests.
56.Sh RESTRICTIONS/CONDITIONS
57The consumer must be attached.

--- 97 unchanged lines hidden ---