From a0aacd3741530ac20e796cb471ab1e35b3929704 Mon Sep 17 00:00:00 2001 From: George Melikov Date: Wed, 18 Jan 2017 02:30:01 +0300 Subject: [PATCH] OpenZFS 7257 - zfs manpage user property length needs to be updated Since zpool version 16, this limit is actually 8192 characters. Additionally, this limit is actually 8192 bytes, as it supports UTF-8. Authored by: Eli Rosenthal Reviewed by: Paul Dagnelie Reviewed by: Matthew Ahrens Reviewed by: Yuri Pankov Reviewed by: Igor Kozhukhov Reviewed by: Robert Mustacchi Approved by: Richard Lowe Reviewed-by: Brian Behlendorf Ported-by: George Melikov OpenZFS-issue: https://www.illumos.org/issues/7257 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/3bc7169 Closes #5608 --- man/man8/zfs.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 41d368e99..9c179d7a7 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -1620,7 +1620,7 @@ User property names must contain a colon (\fB:\fR) character to distinguish them When making programmatic use of user properties, it is strongly suggested to use a reversed \fBDNS\fR domain name for the \fImodule\fR component of property names to reduce the chance that two independently-developed packages use the same property name for different purposes. For example, property names beginning with \fBcom.sun\fR. are reserved for definition by Oracle Corporation (which acquired Sun Microsystems). .sp .LP -The values of user properties are arbitrary strings, are always inherited, and are never validated. All of the commands that operate on properties (\fBzfs list\fR, \fBzfs get\fR, \fBzfs set\fR, and so forth) can be used to manipulate both native properties and user properties. Use the \fBzfs inherit\fR command to clear a user property. If the property is not defined in any parent dataset, it is removed entirely. Property values are limited to 1024 characters. +The values of user properties are arbitrary strings, are always inherited, and are never validated. All of the commands that operate on properties (\fBzfs list\fR, \fBzfs get\fR, \fBzfs set\fR, and so forth) can be used to manipulate both native properties and user properties. Use the \fBzfs inherit\fR command to clear a user property. If the property is not defined in any parent dataset, it is removed entirely. Property values are limited to 8192 bytes. .SS "ZFS Volumes as Swap" .LP \fBZFS\fR volumes may be used as Linux swap devices. After creating the volume