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.
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.
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]
23 .\" Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved.
25 .TH MOUNT.ZFS 8 "Aug 24, 2020" OpenZFS
28 mount.zfs \- mount a ZFS filesystem
31 .BI "mount.zfs [\-sfnvh] [\-o " options "]" " dataset mountpoint
35 is part of the zfsutils package for Linux. It is a helper program that
36 is usually invoked by the
40 commands to mount a ZFS dataset.
44 are handled according to the FILESYSTEM INDEPENDENT MOUNT OPTIONS
47 manual, except for those described below.
51 parameter is a ZFS filesystem name, as output by the
52 .B "zfs list -H -o name
53 command. This parameter never has a leading slash character and is
58 parameter is the path name of a directory.
64 Ignore bad or sloppy mount options.
67 Do a fake mount; do not perform the mount operation.
70 Do not update the /etc/mtab file.
76 Print the usage message.
79 This flag sets the SELinux context for all files in the filesystem
80 under that mountpoint.
83 This flag sets the SELinux context for the filesystem being mounted.
86 This flag sets the SELinux context for unlabeled files.
89 This flag sets the SELinux context for the root inode of the filesystem.
92 This private flag indicates that the
94 has an entry in the /etc/fstab file.
97 This private flag disables extended attributes.
100 This private flag enables directory-based extended attributes and, if
101 appropriate, adds a ZFS context to the selinux system policy.
104 This private flag enables system attributed-based extended attributes and, if
105 appropriate, adds a ZFS context to the selinux system policy.
112 This private flag indicates that
114 is being called by the
119 ZFS conventionally requires that the
121 be an empty directory, but the Linux implementation inconsistently
122 enforces the requirement.
126 helper does not mount the contents of zvols.
131 The static filesystem table.
134 The mounted filesystem table.
136 The primary author of
138 is Brian Behlendorf <behlendorf1@llnl.gov>.
140 This man page was written by Darik Horn <dajhorn@vanadac.com>.