g_access.9 (129381) | g_access.9 (131530) |
---|---|
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 129381 2004-05-18 11:33:37Z le $ | 25.\" $FreeBSD: head/share/man/man9/g_access.9 131530 2004-07-03 18:29:24Z ru $ |
26.\" 27.Dd January 16, 2004 28.Dt g_access 9 29.Os 30.Sh NAME 31.Nm g_access 32.Nd "control access to GEOM consumers and their providers" 33.Sh SYNOPSIS --- 31 unchanged lines hidden (view full) --- 65.Fa ( dcr 66= 67.Fa dcw 68= 69.Fa dce 70= 71.Va 0 ) . 72.Pp | 26.\" 27.Dd January 16, 2004 28.Dt g_access 9 29.Os 30.Sh NAME 31.Nm g_access 32.Nd "control access to GEOM consumers and their providers" 33.Sh SYNOPSIS --- 31 unchanged lines hidden (view full) --- 65.Fa ( dcr 66= 67.Fa dcw 68= 69.Fa dce 70= 71.Va 0 ) . 72.Pp |
73The provider's geom must have an access method defined (eg. gp->access). | 73The provider's geom must have an access method defined (e.g.\& gp->access). |
74.Pp 75The topology lock has to be held. 76.Sh RETURN VALUES 77The 78.Fn g_access 79function returns 0 if successful; otherwise an error code is returned. 80Note that 81.Fn g_access --- 83 unchanged lines hidden --- | 74.Pp 75The topology lock has to be held. 76.Sh RETURN VALUES 77The 78.Fn g_access 79function returns 0 if successful; otherwise an error code is returned. 80Note that 81.Fn g_access --- 83 unchanged lines hidden --- |