Mercurial > illumos > git > illumos-gate
comparison usr/src/man/man1m/zfs-program.1m @ 19429:2377ea847e10
12245 Support inheriting properties in zfs channel programs
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
author | Jason King <jason.king@joyent.com> |
---|---|
date | Thu, 23 Jan 2020 17:12:56 -0600 |
parents | 2285bbb66ced |
children | b9e7ea6f5db4 |
comparison
equal
deleted
inserted
replaced
19428:cefa3fedc6e3 | 19429:2377ea847e10 |
---|---|
8 .\" http://www.illumos.org/license/CDDL. | 8 .\" http://www.illumos.org/license/CDDL. |
9 .\" | 9 .\" |
10 .\" | 10 .\" |
11 .\" Copyright (c) 2016, 2017 by Delphix. All rights reserved. | 11 .\" Copyright (c) 2016, 2017 by Delphix. All rights reserved. |
12 .\" Copyright (c) 2018 Datto Inc. | 12 .\" Copyright (c) 2018 Datto Inc. |
13 .\" Copyright 2020 Joyent, Inc. | |
13 .\" | 14 .\" |
14 .Dd January 21, 2016 | 15 .Dd January 15, 2020 |
15 .Dt ZFS-PROGRAM 1M | 16 .Dt ZFS-PROGRAM 1M |
16 .Os | 17 .Os |
17 .Sh NAME | 18 .Sh NAME |
18 .Nm "zfs program" | 19 .Nm "zfs program" |
19 .Nd executes ZFS channel programs | 20 .Nd executes ZFS channel programs |
364 .Bd -ragged -compact -offset "xxxx" | 365 .Bd -ragged -compact -offset "xxxx" |
365 Valid only for destroying snapshots. | 366 Valid only for destroying snapshots. |
366 If set to true, and the snapshot has holds or clones, allows the snapshot to be | 367 If set to true, and the snapshot has holds or clones, allows the snapshot to be |
367 marked for deferred deletion rather than failing. | 368 marked for deferred deletion rather than failing. |
368 .Ed | 369 .Ed |
370 .It Em zfs.sync.inherit(dataset, property) | |
371 Clears the specified property in the given dataset, causing it to be inherited | |
372 from an ancestor, or restored to the default if no ancestor property is set. | |
373 The | |
374 .Ql zfs inherit -S | |
375 option has not been implemented. | |
376 Returns 0 on success, or a nonzero error code if the property could not be | |
377 cleared. | |
378 .Pp | |
379 dataset (string) | |
380 .Bd -ragged -compact -offset "xxxx" | |
381 Filesystem or snapshot containing the property to clear. | |
382 .Ed | |
383 .Pp | |
384 property (string) | |
385 .Bd -ragged -compact -offset "xxxx" | |
386 The property to clear. | |
387 Allowed properties are the same as those for the | |
388 .Nm zfs Cm inherit | |
389 command. | |
390 .Ed | |
369 .It Em zfs.sync.promote(dataset) | 391 .It Em zfs.sync.promote(dataset) |
370 Promote the given clone to a filesystem. | 392 Promote the given clone to a filesystem. |
371 Returns 0 on successful promotion, or a nonzero error code otherwise. | 393 Returns 0 on successful promotion, or a nonzero error code otherwise. |
372 If EEXIST is returned, the second return value will be an array of the clone's | 394 If EEXIST is returned, the second return value will be an array of the clone's |
373 snapshots whose names collide with snapshots of the parent filesystem. | 395 snapshots whose names collide with snapshots of the parent filesystem. |