zfs set allows only one dataset property to be set at a time
Using 'zfs set' to modify multiple properties is clumsy, since it only allows one property to be specified per invocation. Since you have to wait for the next snapshot after each invocation, this can be pretty slow when setting a number of properties.
It would be nicer if 'zfs set' mirrored the behavior of 'zfs get' and supported taking a list of properties instead of just one, setting them in one ioctl call.
Updated by Electric Monk almost 5 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 30925561c223021e91d15899cbe75f80e54d8889 Author: Chris Williamson <email@example.com> Date: 2015-04-08T18:47:02.000Z 5745 zfs set allows only one dataset property to be set at a time Reviewed by: Christopher Siden <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: Bayard Bell <email@example.com> Reviewed by: Richard PALO <richard@NetBSD.org> Reviewed by: Steven Hartland <firstname.lastname@example.org> Approved by: Rich Lowe <email@example.com>