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