svn commit: r42718 - projects/zfsupdate-201307/en_US.ISO8859-1/books/handbook/zfs
Benedict Reuschling
bcr at FreeBSD.org
Fri Sep 27 11:38:55 UTC 2013
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</screen>
<title>Setting Dataset Properties</title>
<para></para>
+
+ <para>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 (<literal>:</literal>) is used in the
+ property name.</para>
+
+ <screen>&prompt.root; <userinput>zfs set custom:costcenter=1234</userinput>
+&prompt.root; <userinput>zfs get custom:costcenter</userinput>
+NAME PROPERTY VALUE SOURCE
+tank custom:costcenter 1234 local</screen>
</sect2>
<sect2 id="zfs-zfs-snapshot">
More information about the svn-doc-projects
mailing list