xref: /illumos-gate/usr/src/man/man4fs/sharefs.4fs (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
1*bbf21555SRichard Lowe.\"
2*bbf21555SRichard Lowe.\" Copyright (c) 2007, Sun Microsystems, Inc.  All Rights Reserved
3*bbf21555SRichard Lowe.\" Copyright 2021 Oxide Computer Company
4*bbf21555SRichard Lowe.\"
5*bbf21555SRichard Lowe.\" The contents of this file are subject to the terms of the
6*bbf21555SRichard Lowe.\" Common Development and Distribution License (the "License").
7*bbf21555SRichard Lowe.\" You may not use this file except in compliance with the License.
8*bbf21555SRichard Lowe.\"
9*bbf21555SRichard Lowe.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*bbf21555SRichard Lowe.\" or http://www.opensolaris.org/os/licensing.
11*bbf21555SRichard Lowe.\" See the License for the specific language governing permissions
12*bbf21555SRichard Lowe.\" and limitations under the License.
13*bbf21555SRichard Lowe.\"
14*bbf21555SRichard Lowe.\" When distributing Covered Code, include this CDDL HEADER in each
15*bbf21555SRichard Lowe.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*bbf21555SRichard Lowe.\" If applicable, add the following below this CDDL HEADER, with the
17*bbf21555SRichard Lowe.\" fields enclosed by brackets "[]" replaced with your own identifying
18*bbf21555SRichard Lowe.\" information: Portions Copyright [yyyy] [name of copyright owner]
19*bbf21555SRichard Lowe.\"
20*bbf21555SRichard Lowe.\" Copyright 2020 Joyent, Inc.
21*bbf21555SRichard Lowe.\" Copyright 2021 Oxide Computer Company
22*bbf21555SRichard Lowe.Dd February 4, 2020
23*bbf21555SRichard Lowe.Dt SHAREFS 4FS
24*bbf21555SRichard Lowe.Os
25*bbf21555SRichard Lowe.Sh NAME
26*bbf21555SRichard Lowe.Nm sharefs
27*bbf21555SRichard Lowe.Nd Kernel sharetab filesystem
28*bbf21555SRichard Lowe.Sh DESCRIPTION
29*bbf21555SRichard LoweThe
30*bbf21555SRichard Lowe.Nm
31*bbf21555SRichard Lowefilesystem describes the state of all shares currently loaded by the kernel, and
32*bbf21555SRichard Loweshared by the invoking zone.
33*bbf21555SRichard LoweIt is mounted during boot time as a read-only file at
34*bbf21555SRichard Lowe.Pa /etc/dfs/sharetab .
35*bbf21555SRichard Lowe.Pp
36*bbf21555SRichard LoweFilesystem contents are dynamic and reflect the current set of shares in the
37*bbf21555SRichard Lowezone.
38*bbf21555SRichard LoweFile contents are described in
39*bbf21555SRichard Lowe.Xr sharetab 5 .
40*bbf21555SRichard Lowe.Pp
41*bbf21555SRichard LoweFile contents can be modified as a result of
42*bbf21555SRichard Lowe.Xr share 8 ,
43*bbf21555SRichard Lowe.Xr sharectl 8 ,
44*bbf21555SRichard Lowe.Xr sharemgr 8 ,
45*bbf21555SRichard Loweand changing properties of a
46*bbf21555SRichard Lowe.Xr zfs 8
47*bbf21555SRichard Lowedata set.
48*bbf21555SRichard Lowe.Pp
49*bbf21555SRichard LoweThe module may not be unloaded dynamically by the kernel.
50*bbf21555SRichard Lowe.Sh FILES
51*bbf21555SRichard Lowe.Bl -tag -width Pa
52*bbf21555SRichard Lowe.It Pa /etc/dfs/sharetab
53*bbf21555SRichard LoweSystem record of shared file systems.
54*bbf21555SRichard Lowe.El
55*bbf21555SRichard Lowe.Sh SEE ALSO
56*bbf21555SRichard Lowe.Xr sharetab 5 ,
57*bbf21555SRichard Lowe.Xr zones 7 ,
58*bbf21555SRichard Lowe.Xr share 8 ,
59*bbf21555SRichard Lowe.Xr sharectl 8 ,
60*bbf21555SRichard Lowe.Xr sharemgr 8 ,
61*bbf21555SRichard Lowe.Xr zfs 8
62