From owner-svn-doc-projects@FreeBSD.ORG Fri Sep 27 11:38:55 2013 Return-Path: Delivered-To: svn-doc-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F2FBE9D2; Fri, 27 Sep 2013 11:38:54 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E16AA2536; Fri, 27 Sep 2013 11:38:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8RBcsp4039248; Fri, 27 Sep 2013 11:38:54 GMT (envelope-from bcr@svn.freebsd.org) Received: (from bcr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8RBcscQ039247; Fri, 27 Sep 2013 11:38:54 GMT (envelope-from bcr@svn.freebsd.org) Message-Id: <201309271138.r8RBcscQ039247@svn.freebsd.org> From: Benedict Reuschling Date: Fri, 27 Sep 2013 11:38:54 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r42718 - projects/zfsupdate-201307/en_US.ISO8859-1/books/handbook/zfs X-SVN-Group: doc-projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for doc projects trees List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 11:38:55 -0000 Author: bcr Date: Fri Sep 27 11:38:54 2013 New Revision: 42718 URL: http://svnweb.freebsd.org/changeset/doc/42718 Log: Add a short section on how to set custom properties. Modified: projects/zfsupdate-201307/en_US.ISO8859-1/books/handbook/zfs/chapter.xml Modified: projects/zfsupdate-201307/en_US.ISO8859-1/books/handbook/zfs/chapter.xml ============================================================================== --- projects/zfsupdate-201307/en_US.ISO8859-1/books/handbook/zfs/chapter.xml Fri Sep 27 08:26:35 2013 (r42717) +++ projects/zfsupdate-201307/en_US.ISO8859-1/books/handbook/zfs/chapter.xml Fri Sep 27 11:38:54 2013 (r42718) @@ -543,6 +543,18 @@ errors: No known data errors Setting Dataset Properties + + It is possible to set user-defined properties in ZFS. They + become part of the pool configuration and can be used to provide + additional information about the pool or it's contents. To + distnguish these custom properties from the ones supplied by + ZFS by default, the colon (:) is used in the + property name. + + &prompt.root; zfs set custom:costcenter=1234 +&prompt.root; zfs get custom:costcenter +NAME PROPERTY VALUE SOURCE +tank custom:costcenter 1234 local