Skip to content

Commit

Permalink
Macos: zprop documentation
Browse files Browse the repository at this point in the history
Add a new manpage that describes the zprops used on macos
Signed-off-by: Andrew Innes <[email protected]>
Co-Authored-By: Jorgen Lundman <[email protected]>
  • Loading branch information
andrewc12 committed Jan 18, 2024
1 parent d3acfe1 commit 12a59b2
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
1 change: 1 addition & 0 deletions man/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dist_man_MANS = \
%D%/man7/zpool-features.7 \
%D%/man7/zpoolconcepts.7 \
%D%/man7/zpoolprops.7 \
%D%/man7/zfsprops-macos.7 \
\
%D%/man8/fsck.zfs.8 \
%D%/man8/mount.zfs.8 \
Expand Down
95 changes: 95 additions & 0 deletions man/man7/zfsprops-macos.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
.\"
.\" CDDL HEADER START
.\"
.\" The contents of this file are subject to the terms of the
.\" Common Development and Distribution License (the "License").
.\" You may not use this file except in compliance with the License.
.\"
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
.\" or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions
.\" and limitations under the License.
.\"
.\" When distributing Covered Code, include this CDDL HEADER in each
.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
.\" If applicable, add the following below this CDDL HEADER, with the
.\" fields enclosed by brackets "[]" replaced with your own identifying
.\" information: Portions Copyright [yyyy] [name of copyright owner]
.\"
.\" CDDL HEADER END
.\"
.\"
.\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 2011 Joshua M. Clulow <[email protected]>
.\" Copyright (c) 2011, 2019 by Delphix. All rights reserved.
.\" Copyright (c) 2011, Pawel Jakub Dawidek <[email protected]>
.\" Copyright (c) 2012, Glen Barber <[email protected]>
.\" Copyright (c) 2012, Bryan Drewery <[email protected]>
.\" Copyright (c) 2013, Steven Hartland <[email protected]>
.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
.\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
.\" Copyright (c) 2014 Integros [integros.com]
.\" Copyright (c) 2016 Nexenta Systems, Inc. All Rights Reserved.
.\" Copyright (c) 2014, Xin LI <[email protected]>
.\" Copyright (c) 2014-2015, The FreeBSD Foundation, All Rights Reserved.
.\" Copyright 2019 Richard Laager. All rights reserved.
.\" Copyright 2018 Nexenta Systems, Inc.
.\" Copyright 2019 Joyent, Inc.
.\" Copyright (c) 2019, Kjeld Schouten-Lebbing
.\"
.Dd April 29, 2021
.Dt ZFSPROPS-MACOS 7
.Os
.
.Sh NAME
.Nm zfsprops-macos
.Nd native properties of ZFS datasets specific to macOS
.
.Sh DESCRIPTION
These properties are like the native properties described in
.Xr zfsprops 7
but they are specific to macOS.
.Pp
The following native properties can be used to change the behavior of a ZFS
dataset.
.Bl -tag -width ""
.It Xo
.Sy browse Ns = Ns Sy on Ns | Ns Sy off
.Xc
Equivalent to mount option
.Sy browse/nobrowse .
This option indicates
that the mount point should not be visible via the GUI (i.e., appear
on the Desktop as a separate volume). Setting it to off will result
in Spotlight being unavailable for the specified mount point.
The default value is
.Sy off .
.It Xo
.Sy ignoreowner Ns = Ns Sy on Ns | Ns Sy off
.Xc
Equivalent to mount option
.Sy noowners .
Ignore the ownership field for the entire volume.
The default value is
.Sy off .
.It Xo
.Sy mimic Ns = Ns Sy hfs Ns | Ns Sy off
.Xc
Some applications check if the filesystem type is "hfs" and refuse to work with
ZFS.
In this situation, this property can be enabled and the filesystem type will be
reported as "hfs".
The default value is
.Sy off .
.It Xo
.Sy devdisk Ns = Ns Sy poolonly Ns | Ns Sy on Ns | Ns Sy off
.Xc
Create a /dev/diskX pseudo-disk for the mount, which has better compatibility
with macOS UI.
Due to the cost of creating a /dev/disk entry, the default value is set to
.Sy poolonly
as to only create an entry for the pool's root dataset.
For lower datasets, set to
.Sy on .
.El

0 comments on commit 12a59b2

Please sign in to comment.