.\" SPDX-License-Identifier: CDDL-1.0 .\" .\" This file and its contents are supplied under the terms of the .\" Common Development and Distribution License ("CDDL"), version 1.0. .\" You may only use this file in accordance with the terms of version .\" 1.0 of the CDDL. .\" .\" A full copy of the text of the CDDL should have accompanied this .\" source. A copy of the CDDL is also available via the Internet at .\" https://opensource.org/license/CDDL-1.0. .\" .\" Copyright 2013 Darik Horn . All rights reserved. .\" .Dd May 24, 2021 .Dt MOUNT.ZFS 8 .Os . .Sh NAME .Nm mount.zfs .Nd mount ZFS filesystem .Sh SYNOPSIS .Nm .Op Fl sfnvh .Op Fl o Ar options .Ar dataset .Ar mountpoint . .Sh DESCRIPTION The .Nm helper is used by .Xr mount 8 to mount filesystem snapshots and .Sy mountpoint= Ns Ar legacy ZFS filesystems, as well as by .Xr zfs 8 when the .Sy ZFS_MOUNT_HELPER environment variable is not set. Users should should invoke either .Xr mount 8 or .Xr zfs 8 in most cases. .Pp .Ar options are handled according to the .Em Temporary Mount Point Properties section in .Xr zfsprops 7 , except for those described below. .Pp If .Pa /etc/mtab is a regular file and .Fl n was not specified, it will be updated via libmount. . .Sh OPTIONS .Bl -tag -width "-o xa" .It Fl s Ignore unknown (sloppy) mount options. .It Fl f Do everything except actually executing the system call. .It Fl n Never update .Pa /etc/mtab . .It Fl v Print resolved mount options and parser state. .It Fl h Print the usage message. .It Fl o Ar zfsutil This private flag indicates that .Xr mount 8 is being called by the .Xr zfs 8 command. .El . .Sh SEE ALSO .Xr fstab 5 , .Xr mount 8 , .Xr zfs-mount 8